Date: Wed, 29 Jul 2015 00:20:54 +0100 From: Gary Palmer <gpalmer@freebsd.org> To: Ian FREISLICH <ian.freislich@capeaugusta.com> Cc: David Wolfskill <david@catwhisker.org>, current@freebsd.org Subject: Re: "broken" symbolic links in /usr/lib Message-ID: <20150728232054.GG41419@in-addr.com> In-Reply-To: <E1ZKBJi-0000JZ-FS@clue.co.za> References: <20150728200034.GO1277@albert.catwhisker.org> <20150728184516.GN1277@albert.catwhisker.org> <E1ZK9QG-000CAR-KW@clue.co.za> <E1ZKAuN-000CK7-MG@clue.co.za> <E1ZKBJi-0000JZ-FS@clue.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150728232054.GG41419>