Date: Wed, 29 Jul 2015 12:28:30 +0200 From: Ian FREISLICH <ian.freislich@capeaugusta.com> To: Glen Barber <gjb@FreeBSD.org> Cc: current@freebsd.org Subject: Re: "broken" symbolic links in /usr/lib Message-ID: <E1ZKOb8-0001DX-Ho@clue.co.za> In-Reply-To: <20150728205537.GA54478@FreeBSD.org> References: <20150728205537.GA54478@FreeBSD.org> <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
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ZKOb8-0001DX-Ho>