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
 
top 5 comments
sorted by: hot top controversial new old
[–] nanook@friendica.eskimo.com 1 points 1 year ago

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.

[–] reisub@discuss.tchncs.de 0 points 1 year ago (1 children)

This is outdated, since /bin, /sbin and /lib now should be merged with their /usr counterparts

[–] neidu2@feddit.nl 1 points 1 year ago* (last edited 1 year ago)

Also, fuck /media. All of my (middle aged) homies hate /media

[–] takeheart@lemmy.world 0 points 1 year ago (1 children)

What's the difference between run time program data and temporary files? Is /tmp just for system level processes but not for user space?

[–] Lemongrab@lemmy.one 2 points 1 year ago

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