ash: rm -f can fail
Bastian Bittorf
bittorf at bluebottle.com
Thu Aug 13 12:13:24 UTC 2015
* Laurent Bercot <ska-dietlibc at skarnet.org> [13.08.2015 13:56]:
> Most likely a race. It's impossible to atomically remove
> a directory with Unix.
>
> (There's a way to emulate that: first rename() the directory
> to something unique and unpredictable, then rm -rf that
> directory. But AFAIK, no rm implementation proceeds like this,
> and there's still a small risk that it won't work.)
thank you - that sounds clear to me.
bye, bastian
More information about the busybox
mailing list