SCIENTIFIC-LINUX-USERS Archives

November 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 13 Nov 2015 07:50:39 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
On Thu, Oct 29, 2015 at 7:17 PM, Steve Gaarder <[log in to unmask]> 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 the "filesystem" package, it failed because it tried to do chmods on
> (at least) /usr/local/bin and /usr/local/etc. Why is it doing this? Is
> /usr/local no longer truly local?

It's normal that "filesystem" ensures that "/usr/local/" has a default
mode applicable to a standard use-case.

(Untested) Perhaps you could leverage the "/etc/tmpfiles.d/" system to
ensure that you keep it read-only:

http://www.freedesktop.org/software/systemd/man/tmpfiles.d.html

ATOM RSS1 RSS2