AlexPewMaster to Linux@lemmy.ml · 8 months agoWhat is the /opt directory?message-squaremessage-square42fedilinkarrow-up1130arrow-down13file-text
arrow-up1127arrow-down1message-squareWhat is the /opt directory?AlexPewMaster to Linux@lemmy.ml · 8 months agomessage-square42fedilinkfile-text
I’ve seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?
minus-squareholgersson@lemm.eelinkfedilinkarrow-up3·8 months agoYou 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.
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.