[BusyBox] rm -rf confused by directories without "x" bit set.

Paul Dickson dickson at permanentmail.com
Wed Nov 12 08:14:12 UTC 2003


On Sun, 9 Nov 2003 13:22:30 -0600, Rob Landley wrote:

> I ran buildroot as me (not as root), and it created a file that rm -rf won't 
> delete.
> 
> [landley at dhcppc4 busybox]$ ./busybox rm -rf ../../../buildroot/build_i386
> rm: unable to stat 
> `../../../buildroot/build_i386/staging_dir/lib/pkgconfig/openssl.pc': 
> Permission denied
> rm: unable to remove 

> ../../../buildroot/build_i386/staging_dir/lib/
> total 4
> drw-r--r--    2 landley  landley      4096 Nov  9 06:37 pkgconfig
> 
> Any suggestions?

Delete as root.

I have the same problem from a normal RH9 system, this is not a busybox
problem.

I not sure why openssl does this, but I'm leaving it until either I
understand why the permissions are set this way or openssl fixes this.

	-Paul




More information about the busybox mailing list