Date: Fri, 28 Sep 2001 22:36:26 -0400 From: parv <parv_@yahoo.com> To: klein brock <getzz1@yahoo.com> Cc: questions@freebsd.org Subject: Re: operation not permitted Message-ID: <20010928223626.A4275@moo.holy.cow> In-Reply-To: <20010929021011.26700.qmail@web20101.mail.yahoo.com>; from getzz1@yahoo.com on Fri, Sep 28, 2001 at 07:10:11PM -0700 References: <20010928215329.A2661@moo.holy.cow> <20010929021011.26700.qmail@web20101.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
this was, on the fateful occasion around Sep 28 22:10 -0400,
sent by klein brock
>
>
>
> # ktrace -di chflags nosappnd /usr/home2/mytest
> chflags: /usr/home2/mytest: Operation not permitted
> chflags: /usr/home2/mytest: Operation not permitted
>
> # kdump | less
...
> 73527 chflags NAMI "/usr/home2/chendra"
[-----]
> 73527 chflags RET lstat 0
> 73527 chflags CALL open(0x8053ac1,0,0)
> 73527 chflags NAMI "."
> 73527 chflags RET open 3
> 73527 chflags CALL fchdir(0x3)
> 73527 chflags RET fchdir 0
> 73527 chflags CALL chflags(0x805a000,0)
> 73527 chflags NAMI "/usr/home2/chendra"
[-----]
> 73527 chflags RET chflags -1 errno 1 Operation not
> permitted
...
> 73527 chflags GIO fd 2 wrote 18 bytes
> "/usr/home2/chendra"
> 73527 chflags RET write 18/0x12
> 73527 chflags CALL write(0x2,0xbfbff3fc,0x2)
> 73527 chflags GIO fd 2 wrote 2 bytes
> ": "
>
> --- parv <parv_@yahoo.com> wrote:
> >
> > could you try one last thing for me? run the
> > following
> > ktrace (you need KTRACE option compiled in your
> > kernel);
> > as root and send the ktrace.out file (censor some of
> > the contents
> > if you want). this is to find out why/where chflags
> > fails when run as root.
> >
> > # ktrace -di chflags nosappnd /usr/home2/mytest
um, that trace shows only "chendra" directory highlighted above
but not "mytest"...(?) is there any relation between the two?
i am at my wits' end here, somebody want to jump in (hint)?
--
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?20010928223626.A4275>
