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

Glenn McGrath bug1 at optushome.com.au
Fri Nov 14 21:45:28 UTC 2003


On Sun, 9 Nov 2003 13:22:30 -0600
Rob Landley <rob at landley.net> 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 

> Any suggestions?

What are the pormisions of openssl.pc ?

Its possible to extract a file that you dont have permission to remove,
you can use setgid on directories to ensure your group has permissions
for all files created in that dir.



Glenn



More information about the busybox mailing list