From owner-freebsd-questions@FreeBSD.ORG Sat May 3 11:31:22 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DCB2106564A for ; Sat, 3 May 2008 11:31:22 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id B73748FC12 for ; Sat, 3 May 2008 11:31:21 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.2/8.14.2) with ESMTP id m43BVFqn051889; Sat, 3 May 2008 12:31:16 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.5.5 smtp.infracaninophile.co.uk m43BVFqn051889 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1209814276; bh=+pXhjJxv6TVHOQ hIdzrptlVgu1eSnfZuA5xYkE8cI4Y=; h=Message-ID:Date:From:MIME-Version: To:CC:Subject:References:In-Reply-To:Content-Type:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Mes sage-ID:=20<481C4CFD.5070408@infracaninophile.co.uk>|Date:=20Sat,=2 003=20May=202008=2012:31:09=20+0100|From:=20Matthew=20Seaman=20|Organization:=20Infracaninophile|User -Agent:=20Thunderbird=202.0.0.12=20(X11/20080427)|MIME-Version:=201 .0|To:=20Mike=20Clarke=20|CC:=20freebsd -questions@freebsd.org|Subject:=20Re:=20"Operation=20not=20permitte d"=20at=20end=20of=20portupgrade|References:=20<200805031211.15176. jmc-freebsd@milibyte.co.uk>|In-Reply-To:=20<200805031211.15176.jmc- freebsd@milibyte.co.uk>|X-Enigmail-Version:=200.95.6|Content-Type:= 20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D" application/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigE 26260372811BFD5B25A8AF3"; b=YwDkMzvPVuf0H7nW4argik9h7fDxnyHkuYC6N3t M1XL0iv/rbxeXTwih8H9ZfrIqWF+DFU0HnXZJ/hwcnYNOVO84iPUwo/PJTxeA45YeGE BQ+oBbjdN6zGJ4S3NcvYl6AH2PSrLsbbt9xKkqOWfRLMIhmvUNI1dGMxEZcIMYYus= Message-ID: <481C4CFD.5070408@infracaninophile.co.uk> Date: Sat, 03 May 2008 12:31:09 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.12 (X11/20080427) MIME-Version: 1.0 To: Mike Clarke References: <200805031211.15176.jmc-freebsd@milibyte.co.uk> In-Reply-To: <200805031211.15176.jmc-freebsd@milibyte.co.uk> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigE26260372811BFD5B25A8AF3" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (smtp.infracaninophile.co.uk [IPv6:::1]); Sat, 03 May 2008 12:31:16 +0100 (BST) X-Virus-Scanned: ClamAV version 0.93, clamav-milter version 0.93 on happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.4 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: "Operation not permitted" at end of portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2008 11:31:22 -0000 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--