[TYPO3-core] RFC: Fix bug #75: t3lib_extfilefunc::func_copy() does not set file permissions properly

Michael Stucki michael at typo3.org
Wed Feb 8 14:59:03 CET 2006


Still waiting for approval, though it's a very trivial change...

- michael

Michael Stucki wrote:

> This is a CVS patch request.
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?idu
> 
> Problem:
> If a file is being copied with the filelist modules, the permissions of
> the new one is 755 - no matter what perms the source file had.
> This is somehow the "normal" behavior of PHPFileFunctions and exec('cp'),
> but I think this should be fixed.
>  
> Solution:
> Call t3lib_div::fixPermissions() after the file has been copied.
> 
> Problems:
> I am not sure if this is the correct behaviour. When copying files on a
> Unix system, the file permissions are copied from the original file.
> However, it is probably more consistent to change all file permissions the
> same way.
> 
> Regards, michael

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_75.diff
Type: text/x-diff
Size: 563 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060208/27f9241b/attachment.bin 


More information about the TYPO3-team-core mailing list