Date: Sat, 03 May 2008 12:31:09 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Mike Clarke <jmc-freebsd@milibyte.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: "Operation not permitted" at end of portupgrade Message-ID: <481C4CFD.5070408@infracaninophile.co.uk> In-Reply-To: <200805031211.15176.jmc-freebsd@milibyte.co.uk> References: <200805031211.15176.jmc-freebsd@milibyte.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigE26260372811BFD5B25A8AF3
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Mike Clarke wrote:
> Operation not permitted - /usr/local/lib/compat/pkg/libc.so.5
> Operation not permitted - /usr/local/lib/compat/pkg/libc_r.so.5
> Operation not permitted - /usr/local/lib/compat/pkg/libcrypt.so.2
> Operation not permitted - /usr/local/lib/compat/pkg/libpthread.so.1
> Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1
>=20
> The permissions on all these files are -r--r--r--. Should I change them=
=20
> to -rwxr-xr-x like the rest of the files in that directory or just=20
> ignore it?
That's actually because those are backup copies of system shared librarie=
s
(probably from the compat5x port) which have the system immutable bit
set on them.
Use 'ls -lo' to see what flags are set.
Use 'chflags -0 filename' to unset any flags: note your ability to do
this depends on the kern.securelevel setting. If 'sysctl kern.secureleve=
l'
returns greater than zero, then you'll need to reboot into single user in=
order to modify those files.
Cheers,
Matthew
--=20
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
Kent, CT11 9PW
--------------enigE26260372811BFD5B25A8AF3
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkgcTQMACgkQ8Mjk52CukIwzrQCffraWmDpkZQD2ygxTUHSKt5lO
U+QAn1Dt6Znmg6TO5OegTWXk2ITf052Q
=xPgW
-----END PGP SIGNATURE-----
--------------enigE26260372811BFD5B25A8AF3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?481C4CFD.5070408>
