"broken" symbolic links in /usr/lib
Ian FREISLICH
ian.freislich at capeaugusta.com
Tue Jul 28 19:45:02 UTC 2015
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
More information about the freebsd-current
mailing list