Cannot remove empty directory
A. Khattri
ajai
Wed Jun 15 16:15:43 PDT 2005
On Wed, 15 Jun 2005, Vu Pham wrote:
> > -----Original Message-----
> > From: linux-users-bounces at linux-sxs.org
> > [mailto:linux-users-bounces at linux-sxs.org] On Behalf Of Michael Hipp
> > Sent: Wednesday, June 15, 2005 2:30 PM
> > To: Linux Users
> > Subject: Cannot remove empty directory
> >
> > I'm trying to delete an empty directory - normally not a
> > particularly esoteric task :-)
> >
> > $ ls -lah
> > drwx------ 1 michael michael 6 2005-06-15 14:10 apps
> > [snip]
> > $ rmdir apps
>
> Try "rm -rf" instead of rmdir. Just do not run it at root level :-)
Everyone keeps saying that but I think he already did:
> > $ rm -drf apps
> > rm: cannot remove directory `apps': Directory not empty
More information about the Linux-users
mailing list