Bug #46315 can't able to set the permission for others by UMASK_DIR

Submitted: 20 Jul 2009 16:58 Modified: 20 Jul 2009 19:07
Reporter: Nilnandan Joshi Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S1 (Critical)
Version:5.0.67 OS:Linux
Assigned to: CPU Architecture:Any

[20 Jul 2009 16:58] Nilnandan Joshi
Description:
I have set UMASK and UMASK_DIR with relevant value and restarted the mysqld.  
UMASK is working fine for file system and taking right permissions but UMASK_DIR is not working for only "others" permissions. It is working for "user" and "group" permissions but nor for "others". 

How to repeat:
when setting UMASK_DIR = 0775, restarting the mysqld and try to create the database. The database directory has the 0771 instead of 0775.
[20 Jul 2009 19:07] Sveta Smirnova
Thank you for the report.

This is duplicate of bug #35090 and really not a bug.

Please read comment "[20 Jan 4:38] Tatjana A. Nuernberg", in particular "The 0666 is always applied internally so that $UMASK never takes away execute-permissions from $UMASK_DIR."

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.