From owner-freebsd-stable Fri Oct 24 06:33:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA19486 for stable-outgoing; Fri, 24 Oct 1997 06:33:59 -0700 (PDT) (envelope-from owner-freebsd-stable) Received: from ns.mexcom.net (ns.mexcom.net [206.103.64.9]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA19481 for ; Fri, 24 Oct 1997 06:33:57 -0700 (PDT) (envelope-from eculp@mexcom.net) Received: from sunix (eculp@sunix.mexcom.net [206.103.64.3]) by ns.mexcom.net (8.8.7/8.8.7) with SMTP id IAA13128; Fri, 24 Oct 1997 08:28:09 -0500 (CDT) Message-ID: <3450A313.7EA5059E@mexcom.net> Date: Fri, 24 Oct 1997 08:30:59 -0500 From: Edwin Culp Organization: Mexico Communicates X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.14 i586) MIME-Version: 1.0 To: Eugene Shvetc CC: stable@FreeBSD.ORG Subject: Re: can't remove some files... References: <01bce050$5e9d3da0$bbdbc1c1@eugene.shvetc.marka.net.ua> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Eugene Shvetc wrote: > > When installing 2.2.5 base distribution to my existing FreeBSD-stable system > i have errors: can't unlink 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