From owner-freebsd-questions Fri Sep 28 19:36: 3 2001 Delivered-To: freebsd-questions@freebsd.org Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id E696C37B407 for ; Fri, 28 Sep 2001 19:36:00 -0700 (PDT) Received: from moo.holy.cow (sdn-ar-007dcwashP289.dialsprint.net [63.178.90.155]) by snipe.mail.pas.earthlink.net (8.11.5/8.9.3) with ESMTP id f8T2Zwc11679; Fri, 28 Sep 2001 19:35:59 -0700 (PDT) Received: by moo.holy.cow (Postfix, from userid 1001) id 7F12850BAA; Fri, 28 Sep 2001 22:36:26 -0400 (EDT) Date: Fri, 28 Sep 2001 22:36:26 -0400 From: parv To: klein brock Cc: questions@freebsd.org Subject: Re: operation not permitted Message-ID: <20010928223626.A4275@moo.holy.cow> Mail-Followup-To: klein brock , questions@freebsd.org References: <20010928215329.A2661@moo.holy.cow> <20010929021011.26700.qmail@web20101.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20010929021011.26700.qmail@web20101.mail.yahoo.com>; from getzz1@yahoo.com on Fri, Sep 28, 2001 at 07:10:11PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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