Re: "broken" symbolic links in /usr/lib

From: Ian FREISLICH <ian.freislich_at_capeaugusta.com>
Date: Wed, 29 Jul 2015 12:28:30 +0200
Glen Barber wrote:
> On Tue, Jul 28, 2015 at 10:17:38PM +0200, Ian FREISLICH wrote:
> > I found the actual problem.  The mount point for /usr was mode 700
> > even though the root of the mounted filesystem on /usr was mode 755.
> > Did I explain that clearly (quite difficult because two things are
> > the same thing, although they're apparently not)?
> 
> Your explanation makes sense to me.  The cause of this, however is
> unclear - was this something done locally?  This is why I asked about
> the permissions of '/lib', but based on what you've explained, even
> asking for the permissions of '/usr' would not have led to a clear
> answer.

I think the cause was when I moved to an SSD in this laptop and
created the filesystems on the new disk by hand.

> So we're clear, '/usr' (unmounted) is 700, but '/usr' (mounted) is 755?
> Or is this not the case?

This is exactly the case.  What's confusing is the inconsistent use
of the '/usr' (unmounted) and '/usr' (mounted) modes depending on
circumstance.  ie, non-root can cd and ls to '/usr' (mounted), but
not '/usr' (unmounted), but can't resolve a relative symlink in
that path.

Ian

-- 
Ian Freislich
Received on Wed Jul 29 2015 - 08:28:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC