Operation not permitted after Updating ports

Jeremy Chadwick koitsu at freebsd.org
Mon Apr 21 10:52:03 UTC 2008


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 |



More information about the freebsd-ports mailing list