Project

General

Profile

Actions

Bug #14153

closed

t3lib_extfilefunc::func_copy() does not set file permissions properly

Added by Steffen Müller over 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-05-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.8.0-dev
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

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.

A patch to fix this is attached as diff -urN

Can anyone verify if this does not produce errors on Win?

--
cheers,
Steffen

System:
Debian GNU/Linux (Woody 3.0)
Apache 1.3.26
PHP 4.1.2 (safe mode = off)

(issue imported from #M75)


Files

0000075-corrected_patch_func_copy.diff (571 Bytes) 0000075-corrected_patch_func_copy.diff Administrator Admin, 2004-05-11 20:58
bug_75.diff (563 Bytes) bug_75.diff Administrator Admin, 2006-01-18 21:59

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14154: t3lib_div::writeFile() changes permissions without needClosedMichael Scharkow2004-05-11

Actions
Actions

Also available in: Atom PDF