Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Apr 2008 03:52:02 -0700
From:      Jeremy Chadwick <koitsu@freebsd.org>
To:        Johan Hendriks <Johan@double-l.nl>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Operation not permitted after Updating ports
Message-ID:  <20080421105202.GA87768@eos.sc1.parodius.com>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DDDB9@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCB5DDDB9@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 21, 2008 at 12:15:09PM +0200, Johan Hendriks wrote:
> After the update of a compat port i get the following errors after
> installing a port!
> 
> Updating the pkgdb .......
> 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/libthread.so.1
> Operation not permitted - /usr/local/lib/compat/pkg/libthr.so.1

Probably caused by said libraries having the schg (immutable) flag set
on them.  Use the -o flag with /bin/ls to see if it's set.  Use
chflags(8) to remove it.

Keep in mind that you won't be able to use chflags(8) to fix the files
if the kern.securelevel sysctl is 1 or higher.

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080421105202.GA87768>