lkml.org 
[lkml]   [2001]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: EXT2 Filesystem permissions (bug)?
"H. Peter Anvin" wrote:

:: It's neither a bug nor undocumented.

Kenneth Johansson wrote:

: Interesting but I wonder how much this helps someone that not already know
: what it is. Should not the ls manual also contain something that explains

In fact the best info is on the stat page:

...
The set GID bit (S_ISGID) has several special uses: For a
directory it indicates that BSD semantics is to be used
for that directory: files created there inherit their
group ID from the directory, not from the effective gid of
the creating process, and directories created there will
also get the S_ISGID bit set. For a file that does not
have the group execution bit (S_IXGRP) set, it indicates
mandatory file/record locking.

The `sticky' bit (S_ISVTX) on a directory means that a
file in that directory can be renamed or deleted only by
the owner of the file, by the owner of the directory, and
by root.
...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.105 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site