Bug #76205
closedReplacing a file via filelist changes permissions of the file
100%
Description
Replacing a file and preserving its name causes the file permissions to be changed. Most notably the group is changed, which causes the file to get inaccessible in some setups.
Updated by Gerrit Code Review over 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48181
Updated by Markus Klein over 8 years ago
Permission setup of our server:
Apache webserver user/group www-data
PHP-FPM with dedicated user/group per pool
webserver user is not part of any fpm group nor the other way around.
folders: drwxr-s--- 7 fpm-user www-data
files: rw-r---- 1 fpm-user www-data
'fileCreateMask' => '0640',
'folderCreateMask' => '2750',
(no createGroup etc set in T3 as not necessary)
Updated by Markus Klein over 8 years ago
Without the patch a replaced file gets the group of the fpm-user and does not inherit the sticky group from the parent folder.
Updated by Gerrit Code Review over 8 years ago
Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48194
Updated by Markus Klein over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0892c7641b14b7833fe4e9f839f7a400cf0c0ae6.