From owner-freebsd-questions Tue Oct 2 1:14:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id 3A2CE37B401 for ; Tue, 2 Oct 2001 01:14:07 -0700 (PDT) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id PAA15650; Tue, 2 Oct 2001 15:13:41 +0700 (ICT) Message-Id: <3.0.6.32.20011002151351.007bf100@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Tue, 02 Oct 2001 15:13:51 +0700 To: "james" From: Roger Merritt Subject: Re: Unable to delete file Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <008c01c14b0f$c1a82760$3f00a8c0@sodorline.home> References: <3.0.6.32.20011002103107.007ae580@stjohn.stjohn.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 At 10:58 PM 10/1/01 -0800, you wrote: > >----- Original Message ----- >From: "Roger Merritt" > >> So I went to the console, logged on and su'ed and tried to delete it. No >> dice. So I tried 'ls -lo', but no flags are set. Then I tried 'fstat -f >> /home/public', no files open from that directory. Tried again, 'cd >> /home/public; rm -f GradeSht.xls', and again I get "rm: GradeSht.xls: >> Permission denied". Permission denied!!! I am ROOT -- resistance is >futile! >> Except it's not. I'm stymied. Oh, yeah, thinking my securelevel might >have >> gotten changed I tried 'syscontrol kern.securelevel' and got -1, the >> default value, which it should be. >> >> What can I try next? I've tried searching the archives and haven't found >> anything yet. >> -- >> Roger > >Whoops! Sorry. Your original post got to me after the reply - I didn't >see this part. Sorry for the lame advice to do something you've already >done. > >Did you try to chflags nouchg GradeSht.xls just to see if it would work? >I don't know why it would if ls -lo doesn't show a flag set, but one thing >to try. (or noschg) > >Cheers, > >James Z. > Oh, dear. I think I've found it. The directory is actually on another server, which connects to other subnetworks we have to share with, and is mounted on this server by NFS. When I checked the file permissions on the other machine I found that only the owner had write permission for this directory. When I changed that things started working the way they should. I've gotta be more careful about checking file permissions. They don't always get set the way I expect them to when directories are created by clients on Win95 machines. Thanks to everybody for your help. -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message