Bug #49029
closedFiles created via FAL get the wrong permissions set
100%
Description
When creating a File through FAL GeneralUtility::fixPermissions is not called so the file won't have the correct access permissions afterwards, the fileCreateMask is just ignored.
Affected versions:
TYPO3.CMS 6.0 - 6.2-dev
Steps to reproduce:
- Set $TYPO3_CONF_VARS['BE']['fileCreateMask'] to something else but the umask (0624 for example)
- Create a file using the Filelist-Module in TYPO3-BE
- Check the files permissions in the filesystem (use stat $filename to get the numeric permissions)
- See that the output of stat and fileCreateMask are different
The solution is to call GeneralUtility::fixPermissions after creating a file in the LocalDriver. Afterwards you'll see that files have the correct permissions
Updated by Gerrit Code Review over 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21336
Updated by Gerrit Code Review over 11 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21336
Updated by Gerrit Code Review over 11 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21336
Updated by Gerrit Code Review over 11 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21336
Updated by Gerrit Code Review over 11 years ago
Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21336
Updated by Gerrit Code Review over 11 years ago
Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21336
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-1 has been pushed to the review server.
It is available at https://review.typo3.org/21532
Updated by Gerrit Code Review over 11 years ago
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/21533
Updated by Anonymous over 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset a1b8599f7096277ce8db0f153df64a9be5c98c99.