.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" the Institute of Electrical and Electronics Engineers, Inc.
.\" %sccs.include.redist.roff%
.\" @(#)chflags.1 5.1 (Berkeley) %G%
utility modifies the file flags of the listed files
The options are as follows:
Traverse a file hierarchy.
For each file that is of type directory,
changes the flags of all files in the file hierarchy below it followed
by the flags of the directory itself.
Symbolic links are not indirected through, nor are their flags altered.
Only the owner of a file or the super-user is permitted to change
the low 16-bits in the flags of a file.
Only the the super-user is permitted to change
the high 16-bits in the flags of a file.
utility exits 0 on success, and >0 if an error occurs.
Flags may be absolute or symbolic.
An absolute flag is an octal number constructed by
.Bl -tag -width 6n -compact -offset indent
the file should never be dumped
The symbolic flags is a comma separated list of keywords.
The following keywords are defined:
.Bd -literal -offset indent
dump cause the file to be dumped when it is next modified
Putting the word ``no'' before an option causes it to be deleted.
.Bd -literal -offset indent
nodump the file should never be dumped