Bug 4814 - 64bit busybox ignores umask and create 1777 dirs.
Summary: 64bit busybox ignores umask and create 1777 dirs.
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 critical
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 22:53 UTC by Piotr Karbowski
Modified: 2013-01-20 22:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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