-----BEGIN PGP SIGNED MESSAGE-----
On Mon, 30 Jul 2001, Sameer Sahasrabuddhe wrote:
$ ls -ld /tmp
Gives the following output:
drwxrwxrwt 7 root root 1024 Jul 31 10:00 /tmp
The manpages mention that the "t" has something to do with making the file stay on the swap device. What is all this about?
This 't' is for setting the sticky bit. If it is a directory and everybody is given rwx permission then everybody will be able to create the files in this directory and will be able to read everybody's files but nobody will be able to delete others files. If it is for file ( Used in olden systems for executables ) then the exec-prog is loaded only once in the memory. Used for exec-progs like 'vi' in olden systems.
Regards - --------------------------------------- Pankaj Jangid National Centre for Software Technology - ---------------------------------------