Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2015 21:44:50 +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:  <E1ZKAny-000CJR-8S@clue.co.za>
In-Reply-To: <20150728194001.GZ54478@FreeBSD.org>
References:  <20150728194001.GZ54478@FreeBSD.org> <E1ZK9QG-000CAR-KW@clue.co.za> <20150728193156.GY54478@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Glen Barber wrote:
> On Tue, Jul 28, 2015 at 07:31:56PM +0000, Glen Barber wrote:
> > On Tue, Jul 28, 2015 at 08:16:16PM +0200, Ian FREISLICH wrote:
> > > Hi
> > >=20
> > > I cannot for the life of me figure out why this is so:
> > >=20
> > > As non-root:
> > > [zen] /usr/lib $ file libgcc_s.so
> > > libgcc_s.so: broken symbolic link to ../../lib/libgcc_s.so.1
> > >=20
> > > As root:
> > > [zen] /usr/lib # file libgcc_s.so=20
> > > libgcc_s.so: symbolic link to ../../lib/libgcc_s.so.1
> > >=20
> > > Only on one of my machines, all running CURRENT from within a day.
> > > The upshot is that I have to be root in order to link code.
> > >=20
> > > Any ideas greatly appreciated.
> > >=20
> >=20
> > What are the permissions on /lib/libgcc_s.so.1 ?
> >=20
> 
> Probably a better question:  What are the permissions on /lib ?

Answering both:

[zen] /usr/lib # ls -ld /lib
drwxr-xr-x  3 root  wheel  1536 Jul 28 19:07 /lib
[zen] /usr/lib # ls -l /lib/libgcc_s.so.1
-r--r--r--  1 root  wheel  57792 Jul 28 19:07 /lib/libgcc_s.so.1

Ian
-- 
Ian Freislich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1ZKAny-000CJR-8S>