RE: Filesystem package messes with /usr/local

2015-11-13 Thread Benjamin Lefoul
>Be clear that replacing /usr/local with a symlink in the form you describe is >*not* compliant with the FSH. Actually it is, in both FHS version 2.3 and version 3.0. http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s02.html The following directories, or symbolic links to directories, are r

Re: Filesystem package messes with /usr/local

2015-11-13 Thread Nico Kadel-Garcia
On Fri, Nov 13, 2015 at 9:02 AM, Steve Gaarder wrote: > > On Fri, 13 Nov 2015, Nico Kadel-Garcia wrote: > >> The /usr/local/ directories are part of the File System Hierarchy, at >> http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY >> >> So, yes, it looks like upstream is followi

RE: Filesystem package messes with /usr/local

2015-11-13 Thread Benjamin Lefoul
Steve, You did not post the whole story to the list, but could it have to do with the fact that symlinks are protected by default in RHEL7? # cat /proc/sys/fs/protected_symlinks 1 That means they can only be followed when outside a sticky world-writable directory, or when the uid of the symlin

Re: Filesystem package messes with /usr/local

2015-11-13 Thread Larry Linder
What we have done for the last 25 years on Unix and Linux systems to avoid this problem. On a separate disk we put /home, /usr/local, /opt to keep the OS install sysem from rewriting these directories. There is also a /co-lib disk that we keep all data sheets and parts info etc In a manufact

Re: Filesystem package messes with /usr/local

2015-11-13 Thread Steve Gaarder
On Fri, 13 Nov 2015, Nico Kadel-Garcia wrote: The /usr/local/ directories are part of the File System Hierarchy, at http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY So, yes, it looks like upstream is following the File System Hierarchy. To play nicely with it, you should idea

RE: Filesystem package messes with /usr/local

2015-11-13 Thread Benjamin Lefoul
Just a quick aside comment to say that you are linking to an 11 year-old version of the confusingly named FHS (Filesystem Hierarchy Standard) defining the FSH (FileSystem Hierarchy). The latest version is 3.0, from June this year. Although your verbatim is unchanged in the current version, here

Re: Filesystem package messes with /usr/local

2015-11-13 Thread Nico Kadel-Garcia
On Fri, Nov 13, 2015 at 7:28 AM, Nico Kadel-Garcia wrote: > On Thu, Oct 29, 2015 at 2:17 PM, Steve Gaarder > wrote: >> I always thought that /usr/local was defined to be an area left alone by the >> operating system. For many years, we have made it a symlink to a read-only >> directory in AFS s

Re: Filesystem package messes with /usr/local

2015-11-13 Thread Nico Kadel-Garcia
On Thu, Oct 29, 2015 at 2:17 PM, Steve Gaarder wrote: > I always thought that /usr/local was defined to be an area left alone by the > operating system. For many years, we have made it a symlink to a read-only > directory in AFS space. This has worked fine - until now. When I tried to > update t