I again analyze fix http://landley.net/hg/toybox/rev/b748127e092e. I added checking whether path doesn't indicate to directory before unlink. Some systems allow to remove directory by unlink for superuser. It is dangerous. My fix: https://github.com/luckboy/toybox/commit/90d7ec9795bc0de43692beda1aa22261657ef714 Łukasz Szpakowski. 1411066935.0