[Gambas-user] [Gambas Bug Tracker] Bug #1216: umask ignored by gambas while Mkdir command used

T Lee Davidson t.lee.davidson at gmail.com
Fri Dec 15 17:14:54 CET 2017


On 12/14/2017 07:01 PM, bugtracker at gambaswiki.org wrote:
> http://gambaswiki.org/bugtracker/edit?object=BUG.1216&from=L21haW4-
> 
> Comment #6 by Damien COTTIER:
> 
> Hi i did'nt get answer to my last comment
> 
> The /sbin/mkdir command seem to use 0775 by default and not 0755.
> 
> Regards,
> Damien.
> 
> Damien COTTIER changed the state of the bug to: Opened.
> 

The UMASK should be set in /etc/login.defs or /etc/default/login.

And I don't know about /sbin/mkdir. My mkdir is in /usr/bin and is "mkdir (GNU coreutils) 8.25". This version of mkdir allows
the use of a mode option, ie. "mkdir --mode=755".

-- 
Lee


More information about the User mailing list