CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #14033

Flexible filemode for attachments

Added by Alexander Stehlik about 2 years ago. Updated about 2 years ago.

Status:New Start date:2011-03-24
Priority:Could have Due date:
Assignee:- % Done:

0%

Category:Forum
Target version:-
Votes: 0

Description

At the moment, the filemode for uploaed files is set hardcoded to 0444.

This will work in most scenarios but I have one where the client needs to edit attachments via sftp.

This is why I need attachments to be created with 0664 file mask (group editable).

I attached a patch that allows the filemode to be configured via TypoScript constants.

Alternativeley, you could use t3lib_div::fixPermissions().

Kind regards,
Alex

ext-mm_forum-14033-filepermissions.diff (1.6 kB) Alexander Stehlik, 2011-03-24 17:16

Also available in: Atom PDF