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

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


The following issue has been UPDATED. 
====================================================================== 
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:11 CST
====================================================================== 
Summary:                    [patch] 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:11 romain_proformatiqueSummary                  ast_filecopy: keep
modes for the created file => [patch] ast_filecopy: keep modes for the created
file
======================================================================




More information about the asterisk-bugs mailing list