On Saturday 06 October 2007, Carl Hartung wrote: > Hi All, > > I'm still running 10.2 :-) and looking to fill in some 'missing bits' of > information. I've inserted two questions in the following excerpt from a > *nix file systems tutorial that I found on the 'net: > > The permission flags are read left to right > > 1 directory flag, 'd' if a directory, '-' if a normal file, > something else occasionally may appear here for special devices. > > --> What specific documents, man, info, URL, etc., are available which > describe these "something else" optional flags in detail? > > 2,3,4 read, write, execute permissions for User > > 5,6,7 read, write, execute permissions for Group > > 8,9,10 read, write, execute permissions for Other > > Flag > - in any position means "not set" > r file is readable > w file is writeable (with directories, means files can be added or > deleted) x program or script is executable (directory contents can be > listed) s where 'x' would normally go is called the set-UID or > set-groupID flag > > --> What would a 't' in the tenth position mean? Example: > > drwxrwxrwt 4 carl users 160 2007-10-06 09:46 hdb-test/ > > The relevant fstab line is: > > /dev/hdb3 /mnt/hdb-test reiserfs noauto,user,acl,user_xattr 1 2 > > Thanks & regards! > > Carl
Hi Carl, This "t" in the execute spot indicates what we call a sticky bit. A sticky bit works like this: Any user can create a file or directory in a sticky bit directory but only the owner, the root user or the owner of the directory may remove the file or directory. best, Phil -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
