tech-userlevel archive

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

Re: rm bug?



On Fri, Dec 06, 2013 at 07:15:20AM +0000, Michael van Elst wrote:
> jnemeth%cue.bc.ca@localhost (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".

Thanks, John, the explanation makes sense.

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

I agree with Michael here :)
 Thomas


Home | Main Index | Thread Index | Old Index