Mailing List Archive

mkdir does not set permissions
Running PERL 5.000 on Solaris 2.4. The mkdir command is not setting the
directory permissions to 0777 as I've specified in the command. I can
iumediately follow the mkdir command by a chmod to 0777 and that works fine.
If you need more information let me know.
Bruce Speyer speyer@texas-one.org
Re: mkdir does not set permissions [ In reply to ]
In <9510271621.AA21347@texas-one.org>
On Fri, 27 Oct 95 11:21:21 -0500
Bruce Speyer <speyer@texas-one.org> writes:
>Running PERL 5.000 on Solaris 2.4. The mkdir command is not setting the
>directory permissions to 0777 as I've specified in the command. I can
>iumediately follow the mkdir command by a chmod to 0777 and that works fine.
>If you need more information let me know.
>Bruce Speyer speyer@texas-one.org

What is your 'umask' ? mkdir honours it and chmod does not, same
as under-lying system calls.