tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rm bug? (John Nemeth) writes:

>     The simple explanation is, if you can't read the directory,
>you can't find out what is in it in order to iterate over the
>contents in order to empty the directory.  Remember that "x" only
>allows you to enter the directory.  If you know the name of the
>item you want, then you can access it.  But, if you want to get a
>listing of what is in a directory, then you need "r".

It could still try rmdir(2), even if it cannot read the directory.

Home | Main Index | Thread Index | Old Index