Cant delete directories/files
If I give the command "rm -rf /2001/*" it will not delete all files ! It gives permission denied msg. I am logged in as root so I should have superuser privaleges. Any suggestions...
|
well, aren't you using the command incorrectly i think. if you're just gonna delete the entire directory, then you shouldn't use the *'s. you're trying to recursivel delete files, which naturally doesn't make sense, as they're files not directories, so rm may well be getting screwed up over that. have you tried looking at these files that it won't delete?
|
rm will get rid of dirs fine but if you want to delete files use shred.
shred -u /directory/* or whatever files... |
All times are GMT -5. The time now is 08:37 AM. |