#80961Check if system allows fileCreateMask 0660
Description
Issue
Install tool > Folder structue
Default File permissions (SYS/fileCreateMask) Recommended: 0660. Currently configured as 0664 (readable by anyone on the server). This is the default set by TYPO3 CMS to be as much compatible as possible but if your system allows, please consider to change rights.
Analyses
The install tool recommends 0660 but sets 0664 to be as much compatible as possible, and then gives a warning.
Todo
If the install tool could check what the system allows, it could set directly to 0660.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 4
-
Elmar Hinz changed Related to #65812 <span data-processor="relativetime" data-value="2017-04-22T15:37:17+00:00" > 04/22/17, 15:37 </span>
-
Christian Kuhn commented <span data-processor="relativetime" data-value="2017-04-22T18:43:28+00:00" > 04/22/17, 18:43 </span>
-
Susanne Moog changed target version <span data-processor="relativetime" data-value="2018-09-06T14:07:51+00:00" > 09/06/18, 14:07 </span>
-
Benni Mack commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-11-19T10:16:00+00:00" > 11/19/26, 10:16 </span>Still unchanged on main: the default
fileCreateMaskis0664, and the install tool recommends0660with a notice.Detecting automatically whether
0660works is not reliably possible: it depends on whether the web server that delivers static files (fileadmin/, _assets/, typo3temp/assets/) runs as the same user or group as PHP, which PHP cannot determine. An HTTP self-check would only cover single locations and fails in many setups (auth, proxies, CLI setup). As noted earlier, stricter detection had to be relaxed in the past because of broken setups.The current behaviour (compatible default + notice, decision left to the admin) is intended. Closing as won’t fix — thanks for the report.
that’s hard: we had a more specific and detailed analysis in the first versions within folder structure code and ended up with relaxing that over time since tons of issues with all the broken setups out there evolved. nailing this area down is hard to achieve.