[Toybox] Add -m option to mkdir

Felix Janda felix.janda at posteo.de
Sun Dec 23 08:49:51 PST 2012


Hi,

attached are two patches, one adds the -m option to mkdir (set permissions
of created directory), the other adds a test script for it. The test script
uses the non-standard command stat since it seems to be the right tool for
determining permissions of directories.

Felix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdir-m.patch
Type: text/x-patch
Size: 1992 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20121223/8e89af36/attachment-0012.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_mkdir.patch
Type: text/x-patch
Size: 1525 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20121223/8e89af36/attachment-0013.bin>


More information about the Toybox mailing list