mkdir -m option POSIX compliance

Alex Unleashed unledev at gmail.com
Tue Oct 10 06:24:16 PDT 2006


Hi all,

"mkdir -m mode -p /some/directory" calls chmod() on /some/directory even if
it already exists, effectively changing the mode. POSIX specifies that this
mode may only be applied to newly created directories. Patch attached.
Please look at the URLs referenced in the patch for further information.

Thanks,

Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkdir-posixize-mode-option.patch
Type: text/x-patch
Size: 2688 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20061010/a83ffd55/mkdir-posixize-mode-option.bin


More information about the freebsd-hackers mailing list