• 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: Josh Graessley <email@hidden>
  • Date: Sun, 26 Nov 2006 10:04:07 -0800


Another option is to recompile the kernel with a version of the filesystem that ignores those flags.


-josh

On Nov 25, 2006, at 7:20 PM, William Kucharski wrote:

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:
40apple.com


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >Deleting BSD Flags files (From: Jeffrey Ellis <email@hidden>)
 >Re: Deleting BSD Flags files (From: William Kucharski <email@hidden>)

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