Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 1997 08:30:59 -0500
From:      Edwin Culp <eculp@mexcom.net>
To:        Eugene Shvetc <eugene@shvetc.marka.net.ua>
Cc:        stable@FreeBSD.ORG
Subject:   Re: can't remove some files...
Message-ID:  <3450A313.7EA5059E@mexcom.net>
References:  <01bce050$5e9d3da0$bbdbc1c1@eugene.shvetc.marka.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Eugene Shvetc wrote:
> 
> When installing 2.2.5 base distribution to my existing FreeBSD-stable system
> i have errors: can't unlink <filename> and Operation not permitted.
> 
> It is true, i can't remove, rename, etc there files...
> 
> there files is:
> /bin/rcp
> /sbin/init
> /usr/bin/chpass
> /usr/bin/chfn
> /usr/bin/chsh
> /usr/bin/ypchpass
> /usr/bin/ypchfn
> /usr/bin/ypcsh
> /usr/bin/login
> /usr/bin/passwd
> /usr/bin/yppasswd
> /usr/bin/rlogin
> /usr/bin/rsh
> /usr/bin/su
> /usr/bin/crontab
> /usr/lib/libc.so.3.0
> /usr/libexec/ld.so
> /usr/libexec/mail.local
> /usr/sbin/sliplogin
> 
> What i can do with there files to overwrite it?

I'm not sure but you might start with

man chflags :-)

then
 ls -lo
then
chflags noschg file
or
chflags -R noschg directory
Provecho
ed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3450A313.7EA5059E>