AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 9 months agoWhat is the /opt directory?message-squaremessage-square46fedilinkarrow-up1129arrow-down13file-text
arrow-up1126arrow-down1message-squareWhat is the /opt directory?AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 9 months agomessage-square46fedilinkfile-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.