Issue Feature Closed

#80961Check if system allows fileCreateMask 0660

Elmar Hinz 04/22/17, 15:36 updated 11/19/26, 10:16

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.

History 4

  1. Christian Kuhn commented <span data-processor="relativetime" data-value="2017-04-22T18:43:28+00:00" > 04/22/17, 18:43 </span>

    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.

  2. Benni Mack commented and changed status New Closed <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 fileCreateMask is 0664, and the install tool recommends 0660 with a notice.

    Detecting automatically whether 0660 works 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.