• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

chflags

chflags

chflags Changes file flags.
chflags [-R [-H | -L | -P]] <flags>
									<file1>
									<file2> ...

-R Recursively descends through directory arguments to change file flags.
-H If -R is specified, symbolic links on the command line are followed. Symbolic links encountered in tree traversal are not followed.
-L If -R is specified, all symbolic links are followed.
-P If -R is specified, no symbolic links are followed.
Symbolic links do not have flags. Unless -H or -L is specified, chflags on a symbolic link always succeeds and has no effect. -H, -L, and -P options are ignored unless -R is specified. Furthermore, -H, -L, and -P override each other. The last one specified determines the action that is taken.
<flags> is a comma-separated list of keywords. Currently available keywords are
arch Sets the archived flag (super user only).
opaque Sets the opaque flag (owner or super user only).
nodump Sets the nodump flag (owner or super user only).
sappnd Sets the system append-only flag (super user only).
schg Sets the system immutable flag (super user only).
uappnd Sets the user append-only flag (owner or super user only).
uchg Sets the user immutable flag (owner or super user only).
Prepending the letters “no” to a flag turns the flag off.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint