RE: [SLE] Permissions on the /tmp directory?
I did this with near fatal results, except I moved the /var/ directory. I'm still sorting out the permissions... t stands for (according to man chmod): Save Program Text On Swap Device An interesting point is that the permissions of the symbolic links themselves aren't used. Kev -----Original Message----- From: Christopher D. Reimer [mailto:creimer@rahul.net] Sent: 02 April 2000 01:35 To: SuSE Linux Mailing List Subject: [SLE] Permissions on the /tmp directory? Greetings! I just recently picked up a Seagate Cheetah 4GB SCSI hard drive for $75 from a co-worker. I created a /scsi1 mount point for the hard drive and a /scsi1/tmp directory, moved the current contents of the /tmp directory to /scsi1/tmp, and created a symbolic link on the root partition for /tmp to point to /scsi1/tmp. I was curious to notice that the old /tmp directory had the following permissions: drwxrwxrwt. (I presume that the "t" is the sticky bit.) Do I need this particular permission on the symbolic link? How do I set it? Thanks! Christopher Reimer -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Mon, Apr 03 2000 at 09:38 +0100, Kevin Jackson wrote:
I did this with near fatal results, except I moved the /var/ directory.
There shouldn't be any problems with this (other than making sure that no program is running that wants access to /var while you're moving stuff around).
I'm still sorting out the permissions...
t stands for (according to man chmod):
Save Program Text On Swap Device
That's only the case for executables. Once you run one that has the sticky bit set, the program text is saved on the swap partition to speed up program startup the next time the program is run. This has btw. no effect on Linux (i.e. it's ignored). If the sticky bit is set on a directory only the owner of a file in that directory can delete it. Consider a world writable directory like /tmp. Without the sticky bit everyone could delete your temporary files, which is probably not desirable. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
kevin.jackson@jhallpr.demon.co.uk
-
stefan.troeger@wirtschaft.tu-chemnitz.de