Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 1999 11:52:29 -0600 (CST)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        chrismar@console.org (Chris Martino)
Cc:        marko@uk.radan.com, robert@chalmers.com.au, freebsd-questions@FreeBSD.ORG
Subject:   Re: Unremovable file?
Message-ID:  <199901261752.LAA00606@horton.iaces.com>
In-Reply-To: <Pine.BSF.4.05.9901261218100.10402-100000@crazy.weirdo.net> from Chris Martino at "Jan 26, 99 12:18:31 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Chris Martino said:
> I am root...
> stupid:/var/log/ % id
> uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel)
> 
> C
> --
> This is my sig.  Fear it!
> 
> On Tue, 26 Jan 1999, Mark Ovens wrote:
> 
> > Chris Martino wrote:
> > > 
> > > I tried that before posting to the list, here is it's output:
> > > 
> > > stupid:/var/log/ % chmod 666 authlog.1.gz
> >                   ^^^
> > You don't appear to be root. Try doning this as root.
> > 
> > 
> > > chmod: authlog.1.gz: Operation not permitted
> > > stupid:/var/log/ % rm -i  authlog.1.gz
> > > rm: remove `authlog.1.gz'? y
> > > rm: authlog.1.gz: Operation not permitted


do an ls -lo and see if any flags are set. Get rid of
them with chflags. Then you can remove





-- 
Common sense is the most evenly distributed quantity in the world.
Everyone thinks he has enough.  -Descartes, 1637

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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