Permissions on /tmp or /var/tmp?

Permissions on /tmp or /var/tmp?

Post by Andrew R. Tef » Tue, 15 Nov 1994 23:12:35

Quote:>I couldn't agree less. Permission 1777 is the right one: any mortal shouldn't
>be allowed to remove/change my files *wherever* they are.

I would just hope that all of us have more to worry about than who can
delete what files in /tmp. I just said not to take any assertion that
you MUST use mode 1777 at face value. Know why it is suggested and
decide for yourself whether it is necessary. If it's just you and your wife
using your computer, what's the big deal? I would advocate the sticky
bit for any public-access site though. While /tmp should not be used
for anything but transient files, it would be rude for someone to delete
them while you really are in the middle of using them.



1. /tmp vs /usr/tmp vs /var/tmp

:Please help me understand temp directories.  I know what /tmp is for,
:and I know that /var/tmp is like /tmp only it is not normally cleared
:at boot-time.  But then what is /usr/tmp for?  or aren't /usr/tmp and
:/var/tmp usually used in the same implementation?

/usr/tmp and /var aren't normally in the same implementation.  


 InterNIC WHOIS: MJO | (has my PGP & Geek Code info) | Phone: +1 248-848-4481

2. Pager

3. Permissions on /tmp or /var/tmp?

4. Changing time on UnixWare 2.1.2. (winter time - summer time)

5. How to limit the use of /tmp and /var/tmp by arbitrary users

6. I've been good! Help me choose a system.

7. Why is there /tmp in addition to /var/tmp.

8. +SymLinksIfOwnerMatch doesn't disable FollowSymLinks in Apache 1.3.0

9. difference between /tmp and /var/tmp?

10. mfs & /tmp vs /var/tmp

11. /var/tmp -> /tmp (was: Anything wrong with just two disk partitions?)

12. dangers of linking /var/tmp -> /tmp

13. /tmp & /var/tmp sizes?