Can't remove files: Operation not permitted

Subhro subhro.kar at gmail.com
Sun Nov 21 08:45:27 PST 2004


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org [mailto:owner-freebsd-
> questions at freebsd.org] On Behalf Of Erik Norgaard
> Sent: Sunday, November 21, 2004 21:49
> To: freebsd-questions at freebsd.org
> Subject: Can't remove files: Operation not permitted
> 
> Hi,
> 
> I have messed around trying to set up a freebsd diskless, so to populate
> a root directory i ran (FreeBSD 6.0-CURRENT)
> 
> # cd /usr/src
> # make buildworld
> # make DESTDIR=/var/nclt installworld
> 
> Now the problem is that I can't get rid of /var/nclt again, not even in
> single user mode. I can't change file permissions.
> 
> How do I clean up from this again?
> 

sysctl kern.securelevel?

Unset the noschg flag.

Regards
S.

Indian Institute of Information Technology
Subhro Sankha Kar
Block AQ-13/1, Sector V
Salt Lake City
PIN 700091
India
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3673 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041121/0be70e39/smime.bin


More information about the freebsd-questions mailing list