ash: rm -f can fail

Bastian Bittorf bittorf at bluebottle.com
Thu Aug 13 10:36:43 UTC 2015


maybe this is a race?

root at box:~ rm -fR /tmp/dbcache
rm: can't remove '/tmp/dbcache': Directory not empty
root at box:~ echo $?
1
root at box:~ rm -fR /tmp/dbcache
root at box:~ echo $?
0

so it worked on the 2nd try. ideas?
this is v1.23.2 on OpenWrt with kernel 3.18.18

bye, bastian


More information about the busybox mailing list