Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-05-2005, 06:58 PM
|
#1
|
Member
Registered: Mar 2005
Posts: 49
Rep:
|
rm: cannot remove directory `ff': Directory not empty
Nothing I do will delete this dir, and it couldn't be anyome empty! what the ....?
|
|
|
03-05-2005, 07:04 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
there are no dot files in it? show use the output of "ls -la /that/direc/tory/"
|
|
|
03-05-2005, 07:05 PM
|
#3
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Have tried the following command ' rm -drf ff '. Requires root to do this operation.
Brian1
" Google the Linux way @ http://www.google.com/linux "
|
|
|
03-05-2005, 07:18 PM
|
#4
|
Member
Registered: Mar 2005
Posts: 49
Original Poster
Rep:
|
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
|
|
|
03-06-2005, 03:02 PM
|
#5
|
Member
Registered: Mar 2005
Posts: 49
Original Poster
Rep:
|
anybody?
|
|
|
03-06-2005, 04:17 PM
|
#6
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What about rmdir?
rmdir ff
|
|
|
03-06-2005, 04:46 PM
|
#7
|
Member
Registered: Mar 2005
Posts: 49
Original Poster
Rep:
|
same output error
|
|
|
03-07-2005, 05:04 AM
|
#8
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
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.
|
|
|
03-07-2005, 11:23 AM
|
#9
|
Member
Registered: Mar 2005
Posts: 49
Original Poster
Rep:
|
That was it, not sure why i didnt think about that... thanks tredegar
|
|
|
05-08-2008, 02:46 PM
|
#10
|
Member
Registered: Nov 2004
Location: UK
Distribution: Fedora 12
Posts: 129
Rep:
|
Try:
Code:
rm -R directoryname/*
and then
rm -R directoryname
|
|
|
05-08-2008, 04:29 PM
|
#11
|
LQ Newbie
Registered: Feb 2005
Location: Khartoum, Sudan
Distribution: Redhat+Suse
Posts: 12
Rep:
|
also try: find . -name 'directoryname*' |xargms rm -fr
|
|
|
05-08-2008, 04:53 PM
|
#12
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
@ 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.
Last edited by tredegar; 05-08-2008 at 04:54 PM.
|
|
|
05-08-2008, 07:20 PM
|
#13
|
Senior Member
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250
Rep: 
|
Quote:
Originally Posted by tredegar
It is DEAD and should be left to rest in peace.
|
Go easy. I've accidentally posted to old threads, too. Generally due to a search I did on a subject, and didn't look at the last post date.
|
|
|
05-12-2008, 02:28 AM
|
#14
|
LQ Newbie
Registered: Feb 2005
Location: Khartoum, Sudan
Distribution: Redhat+Suse
Posts: 12
Rep:
|
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.
|
|
|
06-03-2008, 04:06 AM
|
#15
|
LQ Newbie
Registered: Jun 2008
Posts: 1
Rep:
|
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 07:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|