[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: Re: can't remove dir]



Hi Eduardo
Please read the guidelines posted http://www.people.cornell.edu/pages/kk288/du-guidelines.html . Please keep replies on the list and also please bottom post to messages. I am forwarding your email to the list.

bye
raju

-------- Original Message --------
Subject: 	Re: can't remove dir
Date: 	Sat, 12 Nov 2005 00:36:06 -0200
From: 	Eduardo Rocha Costa <eduardorcosta@terra.com.br>
To: 	kamaraju kusumanchi <raju.mailinglists@gmail.com>
References: 	<20051111150605.GA30461@inf.post> <437551F6.7060909@gmail.com>



Hi, all
Sorry for my english
I'm returning to this list after a time out.

I had the same situation, a month ago, but in my case, the server was invaded.
I can't remove only one file, and I have the root of the server.

To solve, reinstall the server, only this, but I want to know the correct answer too..

Thanks.
Eduardo
kamaraju kusumanchi wrote:

Anton wrote:

Good time.
I can't remove the dir 'remove'.Some months ago i move it from /tmp and rename to 'remove'.I can copy it to another disk and remove from there , but i can't
delete it .I don't know what to think .See the outputs :
==================
inf  5:32# rm -rf remove
rm: cannot remove directory `remove/.private/h': Operation not permitted
rm: cannot remove directory `remove/.private': Operation not permitted
rm: cannot remove directory `remove': Directory not empty


What about the permissions of the directory inside which 'remove' is located. In order to remove a directory you need to have write permissions on its parent directory. Also I see that you are doing all these as root (from the # prompt) Is that correct? In that case look out for the LDAP settings also.

bye
raju





Reply to: