chmod.2 (119893) | chmod.2 (131504) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1980, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)chmod.2 8.1 (Berkeley) 6/4/93 |
33.\" $FreeBSD: head/lib/libc/sys/chmod.2 119893 2003-09-08 19:57:22Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/chmod.2 131504 2004-07-02 23:52:20Z ru $ |
34.\" 35.Dd June 4, 1993 36.Dt CHMOD 2 37.Os 38.Sh NAME 39.Nm chmod , 40.Nm fchmod , 41.Nm lchmod --- 85 unchanged lines hidden (view full) --- 127.Xr sticky 8 . 128.Pp 129If mode ISUID (set UID) is set on a directory, 130and the MNT_SUIDDIR option was used in the mount of the file system, 131then the owner of any new files and sub-directories 132created within this directory are set 133to be the same as the owner of that directory. 134If this function is enabled, new directories will inherit | 34.\" 35.Dd June 4, 1993 36.Dt CHMOD 2 37.Os 38.Sh NAME 39.Nm chmod , 40.Nm fchmod , 41.Nm lchmod --- 85 unchanged lines hidden (view full) --- 127.Xr sticky 8 . 128.Pp 129If mode ISUID (set UID) is set on a directory, 130and the MNT_SUIDDIR option was used in the mount of the file system, 131then the owner of any new files and sub-directories 132created within this directory are set 133to be the same as the owner of that directory. 134If this function is enabled, new directories will inherit |
135the bit from their parents. Execute bits are removed from | 135the bit from their parents. 136Execute bits are removed from |
136the file, and it will not be given to root. 137This behavior does not change the 138requirements for the user to be allowed to write the file, but only the eventual 139owner after it has been created. 140Group inheritance is not affected. 141.Pp 142This feature is designed for use on fileservers serving PC users via 143ftp, SAMBA, or netatalk. --- 94 unchanged lines hidden --- | 137the file, and it will not be given to root. 138This behavior does not change the 139requirements for the user to be allowed to write the file, but only the eventual 140owner after it has been created. 141Group inheritance is not affected. 142.Pp 143This feature is designed for use on fileservers serving PC users via 144ftp, SAMBA, or netatalk. --- 94 unchanged lines hidden --- |