version 1.8, 1999/12/09 00:39:50 |
version 1.9, 1999/12/15 16:08:23 |
|
|
uchg set the user immutable flag (owner or super-user only) |
uchg set the user immutable flag (owner or super-user only) |
.Ed |
.Ed |
.Pp |
.Pp |
|
An immutable file may not be changed, moved, or deleted. |
|
An append-only file is immutable except that data may be appended to it. |
|
.Pp |
Putting the letters |
Putting the letters |
.Dq no |
.Dq no |
before an option causes the flag to be turned off. |
before a flag name causes the flag to be turned off. |
For example: |
For example: |
.Bd -literal -offset indent compact |
.Bd -literal -offset indent compact |
nouchg the immutable bit should be cleared |
nouchg the immutable bit should be cleared |
.Ed |
.Ed |
.Pp |
.Pp |
The |
The |
|
superuser-settable |
.Dq sappnd |
.Dq sappnd |
and |
and |
.Dq schg |
.Dq schg |
system flags may be set at any time, but normally may only be unset when the |
flags can be set at any time, but may only be cleared when the system is |
system is in single-user mode (see |
running at security level 0 or -1 (insecure or permanently insecure mode, |
.Xr init 8 |
respectively). |
for details). |
The securelevel is normally set to 0, for example, when |
|
running in single-user mode. |
.Pp |
.Pp |
Symbolic links do not have flags, so unless the |
Symbolic links do not have flags, so unless the |
.Fl H |
.Fl H |