On Saturday 06 October 2007 16:46:33 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?
open info:/coreutils/What information is listed in konqueror and scroll down a bit
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/
That is the "sticky" bit. Basically, it means that a file in that directory may only be deleted by its owner. Normally anyone with write permissions to a directory can delete a file in it. The "sticky" bit prevents that
The relevant fstab line is:
/dev/hdb3 /mnt/hdb-test reiserfs noauto,user,acl,user_xattr 1 2
Not really relevant for linux file systems. The permissions aren't mount options, they are stored in the file system itself. Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org