News for hackers. Stuff that matters.
Re:I'm “still afraid to use spaces in file names” years old by Spivak on Thursday November 11, 2021 @01:22PM (#29191164)
Basically no one uses /var/tmp for anything (and nobody should either). World writable directories are a mistake and only continue to exist because apps assume they are available.

/tmp and friends are poorly named. They really should be /shared or /dmz or /freeforall or something.

* If you need service-specific tmp space use RuntimeDirectory or PrivateTmp if your app is hardcoded to /tmp.

* If you need service-specific persistent data that goes in /var/lib/your-app.

* If you need temp space for your user it's at /var/run/user/your-uid.

* If you need more than one user/service to share files but not everyone then god have mercy on your soul because all options are bad. There sure are a lot of them but none of them are at all satisfying.

Re:I'm “still afraid to use spaces in file names” years old by account42 on Friday November 12, 2021 @06:32AM (#29198248)
> Basically no one uses /var/tmp for anything

Gentoo does, at least by default: https://wiki.gentoo.org/wiki//etc/portage/make.conf#PORTAGE_...