3 ms·
The FHS defines /usr thus[0]: > /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be
by masklinn 11y ago
The FHS defines /usr thus[0]:
> /usr is shareable, read-only data. That means that /usr should be shareable between various FHS-compliant hosts and must not be written to.
Pretty much all modern unices consider that /usr, aside from /usr/local (which the FHS defines as "for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated."[1]), is part of the operating system.
It is thus very much unusual to modify /usr[2], and in line with current practices to lock it down tightly.
/usr/local is not under SIP.
[0] http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04.html#purpose18 http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04.html#pu...
[1] http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html
[2] in fact the FHS specifically notes[3]:
> Software placed in /usr may be overwritten by system upgrades. For this reason, local software must not be placed outside of /usr/local without good reason.
"we specify that the system can overwrite or remove anything you put there" is pretty much a dead ringer for "modifying this is unusual"
[3] http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html#ftn.idm236091898144 http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s09.html...
- bashinator 11y agoThe FHS is, at best, only tangentially related to anything going on in a Mac OS X system.