version 1.5, 2007/02/05 14:54:31 |
version 1.6, 2011/05/10 17:00:44 |
|
|
.\" |
.\" |
.\" @(#)sticky.8 8.1 (Berkeley) 6/5/93 |
.\" @(#)sticky.8 8.1 (Berkeley) 6/5/93 |
.\" |
.\" |
.Dd February 5, 2007 |
.Dd May 10, 2011 |
.Dt STICKY 7 |
.Dt STICKY 7 |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
|
|
.Xr chmod 2 |
.Xr chmod 2 |
or the file |
or the file |
.Pa /usr/include/sys/stat.h |
.Pa /usr/include/sys/stat.h |
.Sh STICKY FILES |
.Ss Sticky files |
For regular files, the use of mode |
For regular files, the use of mode |
.Dv S_ISVTX |
.Dv S_ISVTX |
is reserved and can be set only by the super-user. |
is reserved and can be set only by the super-user. |
.Nx |
.Nx |
does not currently treat regular files that have the sticky bit set |
does not currently treat regular files that have the sticky bit set |
specially, but this behavior might change in the future. |
specially, but this behavior might change in the future. |
.Sh STICKY DIRECTORIES |
.Ss Sticky directories |
A directory whose |
A directory whose |
.Dq sticky bit |
.Dq sticky bit |
is set becomes a |
is set becomes a |