Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2001 21:19:52 -0400
From:      parv <parv_@yahoo.com>
To:        klein brock <getzz1@yahoo.com>
Cc:        f-q <freebsd-questions@freebsd.org>
Subject:   Re: operation not permitted
Message-ID:  <20010928211952.A446@moo.holy.cow>
In-Reply-To: <20010928180736.20189.qmail@web20103.mail.yahoo.com>; from getzz1@yahoo.com on Fri, Sep 28, 2001 at 11:07:36AM -0700
References:  <20010928132002.B1754@moo.holy.cow> <20010928180736.20189.qmail@web20103.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
this was, on the fateful occasion around Sep 28 14:07 -0400,
sent by klein brock                                                  
>
> 
> # /bin/ls -ola /usr /usr/home2
> /usr:
> total 109
> d-wx--x--x  24 root  wheel     -     512 Sep 28 10:08  .
> d-wx--x--x  20 root  wheel     -     512 Sep 20 05:23  ..
...
> d-wx--x--x  35 root  wheel     -    1024 Sep 28 09:38  home2
> 
> /usr/home2:
> total 35
> d-wx--x--x  35 root         wheel        -    1024  Sep 28 09:38 .
> d-wx--x--x  24 root         wheel        -     512  Sep 28 10:08 ..
> drwxr-xr-x   3 mytest      mytest      sappnd  512  Sep 28 09:26 mytest
> 
> # chflags nosappnd /usr/home2/mytest
> chflags: /usr/home2/mytest: Operation not permitted
> 
> how do i turn off the flags ?
> 

given the above output, as root, you should be able to remove the sappnd
flag. and from your original post did seem to indicate that you had 
already tried that.

don't know what else to say, except: could you humor me and login
again as a root, run chflags, and 'rm -rf' the directory?

i chmod my own /usr & /usr/home2 equivalent directories to above
given permissions and i didn't have any difficulty to remove the
sappnd flag & removing a test directory later. (as root of course).

this sounds stupid & you may choose to ignore it, but are you sure
you are really root and/or have the right authority while you are
attempting to 'chflags'?


(sorry for repeating same thing four times.)

- parv



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?20010928211952.A446>