[PATCH] mkdir: fix permissions on 64-bit platforms

Denys Vlasenko vda.linux at googlemail.com
Thu Feb 23 02:23:02 UTC 2012


On Friday 10 February 2012 08:55, Timo Teräs wrote:
> sizeof(long) != sizeof(mode_t), this causes the compare in
> bb_make_directory of (long)-1 != (mode_t)-1 to fail and mess up
> the permissions of final directory by doing chmod((mode_t) -1).


Applied, thanks!
-- 
vda


More information about the busybox mailing list