Temporary files can be created by user programs. On my machines, I made /tmp an in memory file system and also disallow execution or setuid/gid in this directory as much malware tries to abuse it in this manner.
this post was submitted on 06 Sep 2024
0 points (NaN% liked)
Linux
10577 readers
698 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
This is outdated, since /bin, /sbin and /lib now should be merged with their /usr counterparts
Also, fuck /media. All of my (middle aged) homies hate /media
What's the difference between run time program data and temporary files? Is /tmp just for system level processes but not for user space?
You can shove anything in /tmp, it is (by default) read/writeable by all users/groups. Plenty of user apps create files/folders in tmp