From owner-freebsd-current@freebsd.org Tue Jul 28 19:40:06 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E52F99ADB45 for ; Tue, 28 Jul 2015 19:40:06 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CCF001C63 for ; Tue, 28 Jul 2015 19:40:06 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id CBCFF9ADB44; Tue, 28 Jul 2015 19:40:06 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB6339ADB43 for ; Tue, 28 Jul 2015 19:40:06 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id BA5481C62; Tue, 28 Jul 2015 19:40:06 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by freefall.freebsd.org (Postfix) with ESMTP id 485831150; Tue, 28 Jul 2015 19:40:06 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Tue, 28 Jul 2015 19:40:01 +0000 From: Glen Barber To: Ian FREISLICH Cc: current@freebsd.org Subject: Re: "broken" symbolic links in /usr/lib Message-ID: <20150728194001.GZ54478@FreeBSD.org> References: <20150728193156.GY54478@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bc2iwAtkAaXP8cWF" Content-Disposition: inline In-Reply-To: <20150728193156.GY54478@FreeBSD.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event X-PEKBAC-Definition: Problem Exists, Keyboard Between Admin/Computer User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 19:40:07 -0000 --bc2iwAtkAaXP8cWF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 ? Glen --bc2iwAtkAaXP8cWF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVt9qRAAoJEAMUWKVHj+KTgksP/0ir42Je07BDQGQC+fJo2vp4 AmvX26oXNw3B56Z802e0HwX/APx6/u80Fy09d9XFsrw2ybxXJUiZbUR8Ac8Esj1F Zbv3FjKqExl7k+Nwp5xTcT4+suqV2aCn0Fc5rVsUPOM/2x3xRPYRU1tQtgQByqgp cQZ/673nPnnVrcMWYoCQnzcNjuODtkOSKTIebWx419tpaVbwfvZj2HOzIShlcSvf ECc4JKg2GWJtKLzZTcfBpzICSyoy1Xjs5Js5D83UlDyfNqcxlHKSr1uluDzAm7u5 yINOAB254vfFEalWbCybgVM+hx9XSdIiks2mK9HiBBCBuO7a0147q26jWRSyOS3V f6swwIYxQffJReDjQXIvMDy/MvJV2/7dTE7WjINn+dcs9taRkkQkc5ipO6VflD5/ eAEUIijm6MZhpnYesMgB5W4cKfwWr7rzZwTPiPk4yNozuX8yslFFFcw4Huu2zQ2S u3HWbR+7ehxTrmPYEEkauVjQgj1bZx6KxICeUPtjNrWNiVFy53HGurmAHcHXPcvo Ev2QF0u1qFvUkECnoCfx3e0xLD0JNH8PI/ROU5Vlqe0u9VJN5F0TTH8GkPAAPZ+z C7RpVjjMKJeRNC5fu6Wlf8/NviPNVENY78FUP2FSBLhmdAX+om/f2H/3dzbD9cWX 3Kmz+hDAA21zmdMBqBo9 =bmij -----END PGP SIGNATURE----- --bc2iwAtkAaXP8cWF--