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

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


The following issue is now READY FOR TESTING. 
====================================================================== 
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:                     ready for testing
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 14:10 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 14:10 lmadsen        Status                   new => ready for
testing
======================================================================




More information about the asterisk-bugs mailing list