Bug 4814

Summary: 64bit busybox ignores umask and create 1777 dirs.
Product: Busybox Reporter: Piotr Karbowski <piotr.karbowski>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: critical CC: busybox-cvs
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:

Description Piotr Karbowski 2012-02-28 22:53:34 UTC
64bit busybox seems to ignore umask, all dirs created by mkdir in busybox's ash are 1777

% busybox ash -c 'umask; mkdir asd; ls -ld asd'  
0077
drwsrwsrwt    2 piotr    users         4096 Feb 28 23:43 asd

tested with gentoo's busybox (bulit with glibc) and busybox bulit inside Aboriginal Linux (uClibc)

the i686 binary looks to work fine.
Comment 1 Denys Vlasenko 2013-01-20 22:47:39 UTC
Already fixed by commit af36ba206f7cf0eef77a82af741766a2d03c51ad