Bug #28043 set default umask in mysqld.cc, not my_init()

Submitted: 23 Apr 2007 20:48 Modified: 5 Dec 2007 18:56
Reporter: Timothy Smith Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S4 (Feature request)
Version:4.1, 5.0, 5.1 OS:Any
Assigned to: CPU Architecture:Any

[23 Apr 2007 20:48] Timothy Smith
Description:
my_init() sets the default values for my_umask and my_umask_dir.  These affect programs other than mysqld, but in general client programs should use the system's default umask.  See bug #27789 for example and discussion.

How to repeat:
See bug #27789 for rationale.  Examine mysys/my_init.c for code details.

Suggested fix:
Default to using system umask values.  Set appropriate defaults for mysqld server in mysqld.cc, not in the common my_init() function.
[12 Oct 2010 18:56] Sveta Smirnova
See also bug #57406

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

Page generated in 0.045 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.