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

From: Gary Palmer <gpalmer_at_freebsd.org>
Date: Wed, 29 Jul 2015 00:20:54 +0100
On Tue, Jul 28, 2015 at 10:17:38PM +0200, Ian FREISLICH wrote:
[trim]
> So, a couple of fscks found some problems, but none causing this.
> 
> 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)?
> 
> Seems that for some reason, some but not all actions involving the
> transition between . and .. on the mount point use either the
> permissions of the mount point or the permissions of the directory
> mounted on that mount point.  In the past, the permissions in the
> mounted filesystem have always trumped the mount point, but I have
> no idea what the spec says.  Is this a bug?

As best that I can recall, the permissions of the directory underneath
the mount point has been causing problems like this for as long as I've been
using FreeBSD, which is over 20 years at this point.  It's certainly
bit me in the distant past.

Regards,

Gary
Received on Tue Jul 28 2015 - 21:20:58 UTC

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