[TYPO3-core] RFC: Fix bug #75: t3lib_extfilefunc::func_copy() does not set file permissions properly
Christian Jul Jensen
julle at typo3.org
Wed Feb 8 15:17:10 CET 2006
didn't test,
+1 for the functionality.
On Wednesday 08 February 2006 14:59, Michael Stucki wrote:
> 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
--
Christian Jul Jensen
TYPO3 association
http://association.typo3.org
* this mail is signed with GnuPG. If all you
* see is a file of unknown type, your mail client
* does not support it, just ignore it, it is not
* a virus, or have a look at http://openpgp.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060208/89308336/attachment.pgp
More information about the TYPO3-team-core
mailing list