Bieng root user i cant delete a directory

Closed
priyanka - 22 May 2009 à 03:26
 Chakal - 29 Jun 2009 à 06:42
Hello,
I log in as root user in my server(linux) but i cant delete a directory although it has all the permissions which are required for a root user.so how can i delete this directory?And why is this happening?A user can do anything.
Related:

3 responses

To remove a directory you have to simply use this command :
if the directory is empty use the command

rm ./directoryname

if the directory contain sub directories and not empty then use this command

rm -r directoyname

See here , there is a post with very usefull commands for Linux :
http://www.aspireoneuser.com/forum/viewtopic.php?f=67&t=9389
Thanks simone for the link
god09 Posts 6 Registration date Thursday 21 February 2008 Status Member Last seen 22 May 2009 3
22 May 2009 à 03:35
Did you login with the right user name and password?