Issue Bug Closed

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

Steffen Müller 05/11/04, 20:49 updated 08/12/06, 14:21

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.