Just in case you weren't doing this while logged in as root, check the permissions on the directory above the one you were trying to delete. Perhaps you didn't have write permission in that directory?
-- John F. Eldredge -- j...@jfeldredge.com "Reserve your right to think, for even to think wrongly is better than not to think at all." -- Hypatia of Alexandria -----Original Message----- From: JMJ <roadr...@gmail.com> Date: Thu, 10 Dec 2009 18:04:50 To: <nlug-talk@googlegroups.com> Subject: Re: [nlug] Can't delete seemingly empty directories Jack wrote: > rm -r -f /delete/my/dir/and/contents William Turner wrote: > rm <directory> -R -f The laptop I was originally having the problem with is back at the office and I haven't been able to try that on that machine. But, I just had the same issue with an old laptop drive. I tried both of those, plus the rmdir equivalents, but none of that worked. I was planning to wipe/format the drive anyway, so I'll go ahead and do that. Random thought... would a bad block on the drive cause directories to be non-deletable? Another semi-related question... Why must rmdir have an unnecessarily long option like "--ignore-fail-on-not-empty"???? It only has a couple of other options so there are plenty of single letters to choose from. What's wrong with "-f" or "-i" etc?? I don't get it. Or should I just ask the author? LOL JMJ -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to nlug-t...@googlegroups.com. To unsubscribe from this group, send email to nlug-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to nlug-t...@googlegroups.com. To unsubscribe from this group, send email to nlug-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en.