• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Deleting BSD Flags files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting BSD Flags files


  • Subject: Re: Deleting BSD Flags files
  • From: William Kucharski <email@hidden>
  • Date: Sat, 25 Nov 2006 19:20:57 -0800

You have to boot into single-user mode to remove the sappnd or schg flags.

To remove the file you have to boot single-user, remove the applied flags, then remove
the files.  The system won't allow you to remove the files until you unset the flags.

If you don't feel like finding out which flags are set ("ls -lo"), then this should work from
single user-mode:

    chflags noschg nosappnd nosunlnk <file>; rm -f <file>

    William Kucharski
    email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Deleting BSD Flags files
      • From: Quinn <email@hidden>
    • Re: Deleting BSD Flags files
      • From: Josh Graessley <email@hidden>
References: 
 >Deleting BSD Flags files (From: Jeffrey Ellis <email@hidden>)

  • Prev by Date: Deleting BSD Flags files
  • Next by Date: Re: Deleting BSD Flags files
  • Previous by thread: Deleting BSD Flags files
  • Next by thread: Re: Deleting BSD Flags files
  • Index(es):
    • Date
    • Thread