[asterisk-bugs] [Asterisk 0016762]: ast_filecopy: keep modes for the created file

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 3 10:09:52 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16762 
====================================================================== 
Reported By:                romain_proformatique
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16762
Category:                   Core/FileFormatInterface
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.29 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 244242 
Request Review:              
====================================================================== 
Date Submitted:             2010-02-03 10:09 CST
Last Modified:              2010-02-03 10:09 CST
====================================================================== 
Summary:                    ast_filecopy: keep modes for the created file
Description: 
In src/main/file.c, the static function “copy” creates a new file with
the hardcoded 0600 mode.

I've attached a patch to create the new file with the copied file's modes.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-03 10:09 romain_proformatiqueNew Issue                                  
 
2010-02-03 10:09 romain_proformatiqueAsterisk Version          => 1.4.29        
 
2010-02-03 10:09 romain_proformatiqueRegression                => No            
 
2010-02-03 10:09 romain_proformatiqueSVN Branch (only for SVN checkouts, not
tarball releases) =>  1.4            
2010-02-03 10:09 romain_proformatiqueSVN Revision (number only!) => 244242      
   
======================================================================




More information about the asterisk-bugs mailing list