Solved: Can't remove files: Operation not permitted

2004-11-21 Thread Erik Norgaard
Christian Hiris wrote:
# chflags -R noschg *
Thanks, this solved my problem. I looked at chmod for some strange 
options - but I overlooked the reference to chflags...

Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't remove files: Operation not permitted

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:38, Erik Norgaard, Christian Hiris wrote:
> On Sunday 21 November 2004 17:33, Christian Hiris wrote:
> > On Sunday 21 November 2004 17:18, Erik Norgaard wrote:
> > > 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?
> >
> > # cd /var/nclt
> > # chfags -R noschg *
>
> Sorry - should read
> # chflags -R noschg *
>
> > # rm -rf *

Normally I don't spoof sender-ids. I'll immedately have a cup of coffee.
Hopefully things run better afterwards ;-) 

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMeQ09WjGjvKU74RAgCHAJ9hePFqzA1G0linWKqe9aEDAcE8YACfbyxL
0UNgupG/OXL7tANiMjxe5/s=
=Rp53
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Can't remove files: Operation not permitted

2004-11-21 Thread Subhro

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:owner-freebsd-
> [EMAIL PROTECTED] On Behalf Of Erik Norgaard
> Sent: Sunday, November 21, 2004 21:49
> To: [EMAIL PROTECTED]
> 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


smime.p7s
Description: S/MIME cryptographic signature


Re: Can't remove files: Operation not permitted

2004-11-21 Thread Erik Norgaard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:33, Christian Hiris wrote:
> On Sunday 21 November 2004 17:18, Erik Norgaard wrote:
> > 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?
>
> # cd /var/nclt
> # chfags -R noschg *

Sorry - should read 
# chflags -R noschg *

> # rm -rf *

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMRp09WjGjvKU74RAlWQAJ0X2NjyMoq3/nabwmcfR4/vYlj1jACdFaoR
HPH5SlX86AqhlBFGHEJGWG4=
=LAuW
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can't remove files: Operation not permitted

2004-11-21 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 November 2004 17:18, Erik Norgaard wrote:
> 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?

# cd /var/nclt
# chfags -R noschg *
# rm -rf *

- -- 
Christian Hiris <[EMAIL PROTECTED]> | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBoMNt09WjGjvKU74RAv6pAJ48CTo7yADrqIYo1sEQP8O0UNBVpwCeNCmO
Qc8LbXTwAmsnGxLRPitjL0Y=
=gpRP
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Can't remove files: Operation not permitted

2004-11-21 Thread Erik Norgaard
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?
Thanks, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"