They may be set at any time, but normally may only be unset when
the system is in single-user mode.
(See
-.Xr init 8
+.Xr launchd 8
for details.)
.Sh RETURN VALUES
Upon successful completion, a value of 0 is returned.
is set to indicate the error.
.Sh ERRORS
.Fn Chflags
-will fail it:
+will fail if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
A component of the path prefix is not a directory.
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er ENOTSUP
+The operation isn't supported by the filesystem.
.El
.Pp
.Fn Fchflags
An
.Tn I/O
error occurred while reading from or writing to the file system.
+.It Bq Er ENOTSUP
+The operation isn't supported by the filesystem.
.El
.Sh SEE ALSO
.Xr chflags 1 ,
.Xr fflagstostr 3 ,
+.Xr lchflags 3 ,
.Xr strtofflags 3 ,
-.Xr init 8
+.Xr launchd 8
.Sh HISTORY
The
.Fn chflags