You also have to consider that roots homedir is in /root and not home, so if you’d just assume it’s /home/$USER you’d get in trouble when your programm is run or compiled as root.
My best guess is that having programs treat a user’s home directly as a location for things like config files is deprecated. Programs should be following the XDG standard instead.
You could contact the author (their email address is in the image), but I’m too lazy to do that.
The legend seems confusing to me. I think it’s trying to say that /home is non-standard. Notice that the description for /var/run explicitly states it’s deprecated, and has a solid border.
https://lemmy.world/post/9437528
That’s by far the best version of this kind of thing that I’ve seen.
Compare to a text version: http://www.slackware.com/config/rootdir.php
/home is deprecated?
Removed by mod
You also have to consider that roots homedir is in /root and not home, so if you’d just assume it’s /home/$USER you’d get in trouble when your programm is run or compiled as root.
How about $HOME, is it standardized?
$HOME is a shell variable, created by the shell as it starts, reading from the /etc/passwd file. It’s a string, not a symlink or anything.
I mean about the ‘should query for it’ part.
Removed by mod
That’s what I was wondering as well?
If so, what’s the “correct” location to store stuff like documents, downloads, configurations, etc.?
Removed by mod
So i checked the fhs. Doesn’t say it is deprecated. V3 just mentions XDG and glib (the probable sources of such claims).
My best guess is that having programs treat a user’s home directly as a location for things like config files is deprecated. Programs should be following the XDG standard instead.
You could contact the author (their email address is in the image), but I’m too lazy to do that.
The legend seems confusing to me. I think it’s trying to say that
/home
is non-standard. Notice that the description for/var/run
explicitly states it’s deprecated, and has a solid border.Holy crap this is amazing!! Thank you
You’re welcome!