rm: cannot remove directory `ff': Directory not empty
Nothing I do will delete this dir, and it couldn't be anyome empty! what the ....?
|
there are no dot files in it? show use the output of "ls -la /that/direc/tory/"
|
Have tried the following command ' rm -drf ff '. Requires root to do this operation.
Brian1 " Google the Linux way @ http://www.google.com/linux " |
here is a the 'ls -la output'
// dhcp-17:ff # ls -la total 8 drwxrwxrwx 1 root users 4096 Mar 5 18:07 . drwxrwxrwx 3 root users 4096 Mar 5 18:07 .. // also: # rm -drf ff rm: cannot remove directory `ff': Directory not empty |
anybody?
|
What about rmdir?
rmdir ff |
same output error
|
Have you tried running fsck on that partition? Maybe the filesystem has errors.
You can reboot and force fsck to run as it reboots if you use shutdown -Fr in a console. |
That was it, not sure why i didnt think about that... thanks tredegar
|
Try:
Code:
rm -R directoryname/* |
also try: find . -name 'directoryname*' |xargms rm -fr
|
@ Cyhaxor & Omer Fadul,
I don't know how you reached this thread, or why you thought you should post to it, but it was answered three YEARS ago. It is DEAD and should be left to rest in peace. |
Quote:
|
Dear tredegar
firstly, there is no rule stopping me to post to any threads on this site. beside i was facing the same problem a few weeks a go and i was unable to remove all the files on /var/log/clientmailqueue because i am not using sendmail or postfix services and all root emails was logged to that directory; the total number of files exceeded 635,981 files, the ususal rm -f did not work, and after alot of work i reach to that solution. all i was trying to add was to share my knowledge with others. |
i have the same problem
# rm -R Qtopia/* rm: cannot remove `Qtopia/*': No such file or directory check # df -h Qtopia/ Filesystem Size Used Avail Use% Mounted on /dev/sdb1 3.0G 69M 2.8G 3% /opt/Qtopia U can try # umount Qtopia/ # rm -rf Qtopia/ |
All times are GMT -5. The time now is 09:46 PM. |