3 ms·
Yes, "The user (syadmin) doesn't touch /usr, except /usr/local", where compiled in applications reside with full path so /usr/local/{bin,sbin,share,...}. If yo
by bayindirh 3y ago
Yes, "The user (syadmin) doesn't touch /usr, except /usr/local", where compiled in applications reside with full path so /usr/local/{bin,sbin,share,...}.
If you're deploying an especially big application, you may also prefer /opt/$APPNAME/{bin,etc,usr,...} (A full filesystem tree, basically).
We manage a fleet of systems at work, and I don't remember editing or touching a file under /usr, unless the period I was developing .deb or .rpm packages to deploy on said fleet.
There are many written and unwritten rules in Linux world, and sometimes people disregard or ignore these rules so blatantly, so I can't understand whether the post I'm replying to is a sarcasm or irony.
- hedora 3y agoThe rules are very much written down. For instance, here are the rules for /opt: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s1-filesystem-fhs#s3-filesystem-opt https://access.redhat.com/documentation/en-us/red_hat_enterp... There's also a section for /usr.
- teddyh 3y agoI’d start here: • Filesystem Hierarchy Standard <https://www.pathname.com/fhs/ https://www.pathname.com/fhs/> • For Debian (and derivatives): <https://www.debian.org/doc/debian-policy/ch-opersys.html#file-system-hierarchy https://www.debian.org/doc/debian-policy/ch-opersys.html#fil...>
- teddyh 3y agoAnd, of course, hier(7): <https://manpages.debian.org/stable/manpages/hier.7.en.html https://manpages.debian.org/stable/manpages/hier.7.en.html>