AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 9 months agoWhat is the /opt directory?message-squaremessage-square5fedilinkarrow-up10arrow-down10file-text
arrow-up10arrow-down1message-squareWhat is the /opt directory?AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 9 months agomessage-square5fedilinkfile-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-up1·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.