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

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Nov 30 23:52:03 CET 2017


Comment #1 by Benoît MINISINI:

The MKDIR command creates a directory with 0755 authorizations by default. If your umask is 0002, then the resulting authorizations will be 0755 & ~0002 = 0755 & 0775 = 0755.

If you want different authorizations for your directory, you have to use CHMOD on it after having called MKDIR.

Benoît MINISINI changed the state of the bug to: Rejected.

More information about the User mailing list