[Toybox] Patch for rm toy.

luckboy at vp.pl luckboy at vp.pl
Thu Sep 18 12:02:15 PDT 2014


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.



More information about the Toybox mailing list