|
|
Subscribe / Log in / New account

/tmp and /var/tmp

/tmp and /var/tmp

Posted Apr 1, 2011 17:30 UTC (Fri) by nix (subscriber, #2304)
In reply to: /tmp and /var/tmp by vonbrand
Parent article: Introducing /run

Uh, GCC dumps stuff in /tmp if you don't specify -pipe. Is the compiler something normal users shouldn't run now?

(FWIW I too have never heard this before. /tmp is transient: /var/tmp is not. That's all.)


to post comments

/tmp and /var/tmp

Posted Apr 2, 2011 15:15 UTC (Sat) by vonbrand (subscriber, #4458) [Link] (1 responses)

The compiler is not a "normal user", it is a system program (run by normal users under their UID, thus the sticky bit on /tmp).

/tmp and /var/tmp

Posted Apr 2, 2011 17:11 UTC (Sat) by mpr22 (subscriber, #60784) [Link]

1) I notice you're still not bothering to provide a citation for "/tmp is for the system and off-limits to ordinary applications".

2) In my world, the C compiler is an ordinary user application, so should use filesystems in the manner appropriate to ordinary user applications.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds