#106838Editors can not delete folders in filelist
Description
Admins can delete folders, editors can’t – even if they have permission to do so in the “Directory” settings of the user itself or the group the file mounts are inherited from.
Reproduce on demo.typo3.org (v13.4.13):
1. create empty folder
2. try to delete empty folder
It works in every typo3 v12 version.
Reviews 2
Related issues 2
Files 5
History 79
-
Garvin Hicking commented and changed status
NewAccepted <span data-processor="relativetime" data-value="2025-06-06T07:48:54+00:00" > 06/06/25, 07:48 </span>I could reproduce this locally.
It seems to stem from the fact that read-access is checked on the root-level of a file-storage, which editors may not have in mount scenarios (!).
In this case,
TYPO3\CMS\Core\Resource\ResourceStorage->assureFolderReadPermission()gets called with that root, and throws theInsufficientFolderAccessPermissionsExceptionaftercheckFolderActionPermission('read', '/')failed.(I think to remember a patch made specifically for mount scenarios, but could not dive deeper into this yet)
-
Ralf Hüskes commented <span data-processor="relativetime" data-value="2025-06-08T11:41:08+00:00" > 06/08/25, 11:41 </span>
I can also confirm the behavior in two TYPO3 v13.4.13 versions.
My observations coincide with those of taywa!All rights are set. Moving, etc… is possible… only deleting does not work
-
Garvin Hicking commented <span data-processor="relativetime" data-value="2025-06-10T06:52:15+00:00" > 06/10/25, 06:52 </span>
https://github.com/TYPO3/typo3/commit/1ed4654461bdc88db2511c6a736b9cdc153310cb is the commit that caused this. Most likely because the recycler iteration goes outside the scope of the permissions, I guess (not checked yet).
-
Garvin Hicking changed Related to #96863 <span data-processor="relativetime" data-value="2025-06-10T06:52:32+00:00" > 06/10/25, 06:52 </span>
-
Gerrit Code Review pushed patch set 1 for main to change 89681 status
AcceptedUnder Review <span data-processor="relativetime" data-value="2025-06-10T07:04:43+00:00" > 06/10/25, 07:04 </span> -
Friedemann Altrock changed Related to #106748 <span data-processor="relativetime" data-value="2025-06-10T11:43:21+00:00" > 06/10/25, 11:43 </span>
-
Gerrit Code Review pushed patch set 2 for main to change 89681 <span data-processor="relativetime" data-value="2025-06-10T11:57:06+00:00" > 06/10/25, 11:57 </span>
-
Garvin Hicking commented and changed status
Under ReviewClosed <span data-processor="relativetime" data-value="2025-06-10T12:25:13+00:00" > 06/10/25, 12:25 </span>Closing this issue due to #106748 which was the initial report (that I… totally forgot about and investigated all of this TWICE :D )
More observations:
- The Folder can be cut / pasted to a different location
- Folder can be drag’n‘droped to a different location in tree
- Deleting does not work in tiles or list view or the context menu
- Filesystem level permissions are not the cause – www user has rwx
- Happens in Composer and classic installation