Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2000 10:52:48 -0500
From:      Jim C <jconner@enterit.com>
To:        "J. W. Ballantine" <jwb@homer.att.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: root not root??
Message-ID:  <4.2.0.58.20000301104654.00a42528@mail.enterit.com>
In-Reply-To: <200003011531.KAA09053@akiva.homer.att.com>

next in thread | previous in thread | raw e-mail | index | archive | help
man chflags


I believe you could first do ls -lo on the path or file to see its 
flags.  To negate the flag set or to turn them off you would use something 
similar to:

chflags noschg PATH/filename


Hope that helps...

- Jim

At 10.31 01.03.00 -0500, J. W. Ballantine wrote:

>Hi all,
>
>I'm running 3.4-STABLE #4.
>
>I have a partition that originally was mounted as /usr.  But when I added
>another disk, in order to get more space I created another partition for
>/usr and I'm now mounting the old usr part. on another mount point (/foo).
>
>Now I want to use the space on /foo, so I'm trying to rm all the old files,
>but there are some that are r-sr-xr-x that I can't rm.  When I become root,
>either via, logging in as root or booting in single user mode, and I
>try to chmod u-s file, I get the message Operation not permitted.
>
>What do I have to do, short of reformating the part., to rm these files??
>
>Thanks,
>
>Jim Ballantine
>
>
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message



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?4.2.0.58.20000301104654.00a42528>