4.4BSD/usr/share/man/cat1/chflags.0

Compare this file to the similar file:
Show the results in this format:

CHFLAGS(1)                   BSD Reference Manual                   CHFLAGS(1)

NNAAMMEE
     cchhffllaaggss - change file flags

SSYYNNOOPPSSIISS
     cchhffllaaggss [--HHRRhh] _f_l_a_g_s _f_i_l_e _._._.

DDEESSCCRRIIPPTTIIOONN
     The cchhffllaaggss utility modifies the file flags of the listed files as speci-
     fied by the _f_l_a_g_s operand.

     The options are as follows:

     --HH      When encountering a symbolic link on the command line, follow it.
             All other symbolic links encountered in the traversal are not
             followed.

     --RR      Traverse a file hierarchy.  For each file that is of type direc-
             tory, cchhffllaaggss changes the flags of all files in the file hierar-
             chy below it followed by the flags of the directory itself.

     --hh      When encountering a symbolic link anywhere in the traversal, fol-
             low it.

     Flags are a comma separated list of keywords.  The following keywords are
     currently defined:

           dump    set the dump flag
           sappnd  set the system append-only flag (super-user only)
           schg    set the system immutable flag (super-user only)
           uappnd  set the user append-only flag (owner or super-user only)
           uchg    set the user immutable flag (owner or super-user only)

     Putting the letters ``no'' before an option causes the flag to be turned
     off.  For example:

           nodump  the file should never be dumped

     The flags of a symbolic link are immutable, so unless the --hh or --HH flag
     is set, cchhffllaaggss on a symbolic link always succeeds and has no effect.

     The cchhffllaaggss utility exits 0 on success, and >0 if an error occurs.

SSEEEE AALLSSOO
     chflags(2),  stat(2),  fts(3),  symlink(7)

4.4BSD                           June 29, 1993                               1