[asterisk-bugs] [Asterisk 0017916]: [patch] Asterisk not honouring umask when creating vm directories

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Feb 7 13:52:48 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17916 
====================================================================== 
Reported By:                pdhales
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17916
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.35 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-08-26 02:14 CDT
Last Modified:              2011-02-07 13:52 CST
====================================================================== 
Summary:                    [patch] Asterisk not honouring umask when creating
vm directories
Description: 
umask set as:

UMASK=007

VM directories created as:

drwxr-xr-x 8 asterisk asterisk 4096 2010-08-26 15:44 501


====================================================================== 

---------------------------------------------------------------------- 
 (0131601) jpeeler (administrator) - 2011-02-07 13:52
 https://issues.asterisk.org/view.php?id=17916#c131601 
---------------------------------------------------------------------- 
This does not appear to be a valid way of setting the umask. I'm observing
that running "umask 002" for example, is working as expected.

drwxrwxr-x 2 root root 4.0K 2011-02-07 13:51 tmp

The man page states that mkdir takes into account the umask of the process
(in create_dirpath). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-07 13:52 jpeeler        Note Added: 0131601                          
======================================================================




More information about the asterisk-bugs mailing list