I've seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 2 years ago

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.

  • source
  • parent