Feature #14033
Flexible filemode for attachments
| 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
History
Updated by Alexander Stehlik about 2 years ago
- File ext-mm_forum-14033-filepermissions.diff added