Project

General

Profile

Actions

Bug #85079

closed

You are not allowed to access the given folder: "user_upload"

Added by Claus Harup almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
-
Start date:
2018-05-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

After upgrading to 8.7.15 from 8.7.13 my editors suddenly cannot delete files in their folders..... - They have no problem creating folders or files, but they are not allowed to delete them again (files with no references, that is :-))

See attached image

Greatings

Claus


Files

bug.png (63.4 KB) bug.png Claus Harup, 2018-05-25 11:13

Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #81836: deleting a file inside _recycler_ folder generates new file with preview_ prefixClosed2017-07-11

Actions
Related to TYPO3 Core - Bug #85108: Deletion of file is impossible, if filemount isn't /Closed2018-05-29

Actions
Related to TYPO3 Core - Bug #85243: stuck in infinite loop when deleting a fileClosed2018-06-12

Actions
Related to TYPO3 Core - Bug #88632: File cannot be deleted from a storage that is not browsableClosedMarkus Klein2019-06-26

Actions
Has duplicate TYPO3 Core - Bug #85185: Non-Admin BE user cannot delete own files on filemountClosed2018-06-08

Actions
Has duplicate TYPO3 Core - Bug #85141: #1375955684: You are not allowed to access the given folder: "user_upload"Closed2018-06-01

Actions
Actions #1

Updated by Markus Klein almost 6 years ago

  • Target version deleted (Candidate for patchlevel)

According to the screenshot the user_upload folder (which is the default for a BE user if not changed via user TSconfig) is not within the file mounts.

Sounds like a misconfiguration.

Actions #2

Updated by Claus Harup almost 6 years ago

Markus Klein wrote:

According to the screenshot the user_upload folder (which is the default for a BE user if not changed via user TSconfig) is not within the file mounts.

Sounds like a misconfiguration.

It has been working fine in ALL 8 branches...... - rolling back to 8.7.13 all works again?!?!?!

The file storage (Fileadmin): fileadmin/

The file mount: choosing "Fileadmin" and choosing folder: /user_upload/Editor/

Actions #3

Updated by Typoheads GmbH almost 6 years ago

I can confirm that.

Tested with 8.7.13 and 8.7.15 with the same user, same data, same configuration.

8.7.13 -> works fine

8.7.15 -> Exception You are not allowed to access the given folder: "inhalte"

So it seems not to be related with "user_upload".

Actions #4

Updated by Claus Harup almost 6 years ago

Typoheads GmbH wrote:

I can confirm that.

Tested with 8.7.13 and 8.7.15 with the same user, same data, same configuration.

8.7.13 -> works fine

8.7.15 -> Exception You are not allowed to access the given folder: "inhalte"

So it seems not to be related with "user_upload".

....so your path would be "fileadmin/user_upload/inhalte/"?

Actions #5

Updated by Typoheads GmbH almost 6 years ago

No, "fileadmin/inhalte".

The problem seems to come from this commit https://github.com/TYPO3/TYPO3.CMS/commit/0d583b438880fe72b35deb784fe7469b42e32096

When deleting a file, TYPO3 searches for the nearest recycler folder by accessing the parent folder of the current folder. When the user has no access to this folder -> Exception.

Actions #6

Updated by Claus Harup almost 6 years ago

Typoheads GmbH wrote:

No, "fileadmin/inhalte".

The problem seems to come from this commit https://github.com/TYPO3/TYPO3.CMS/commit/0d583b438880fe72b35deb784fe7469b42e32096

When deleting a file, TYPO3 searches for the nearest recycler folder by accessing the parent folder of the current folder. When the user has no access to this folder -> Exception.

Aha.... - so it wasnt just me :-|

Actions #7

Updated by Nicole Cordes almost 6 years ago

  • Assignee set to Nicole Cordes
Actions #8

Updated by Nicole Cordes almost 6 years ago

  • Status changed from New to Accepted
  • Is Regression set to Yes
Actions #9

Updated by Nicole Cordes almost 6 years ago

  • Related to Bug #81836: deleting a file inside _recycler_ folder generates new file with preview_ prefix added
Actions #10

Updated by Gerrit Code Review almost 6 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/57052

Actions #11

Updated by Gerrit Code Review almost 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #12

Updated by Gerrit Code Review almost 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #13

Updated by Gerrit Code Review almost 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #14

Updated by Gerrit Code Review almost 6 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #15

Updated by Gerrit Code Review almost 6 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #16

Updated by Gerrit Code Review almost 6 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #17

Updated by Gerrit Code Review almost 6 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57052

Actions #18

Updated by Michael Binder almost 6 years ago

  • Related to Bug #85108: Deletion of file is impossible, if filemount isn't / added
Actions #19

Updated by Gerrit Code Review almost 6 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57105

Actions #20

Updated by Nicole Cordes almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #21

Updated by Stefan P almost 6 years ago

Will there be an out-of-plan release for this? Because this is affecting a lot of our installations and we are constantly getting reports that users can not delete their files anymore.

Actions #22

Updated by Christoph Lehmann almost 6 years ago

  • Related to Bug #85141: #1375955684: You are not allowed to access the given folder: "user_upload" added
Actions #23

Updated by Claus Harup almost 6 years ago

Stefan P wrote:

Will there be an out-of-plan release for this? Because this is affecting a lot of our installations and we are constantly getting reports that users can not delete their files anymore.

Im in the exact same position - have to tell my clients to be patient :-|

Actions #24

Updated by Nicole Cordes almost 6 years ago

There will be a new release of TYPO3 8.7 on Tuesday, 12.06

Actions #25

Updated by Presedo Roberto almost 6 years ago

  • Has duplicate Bug #85185: Non-Admin BE user cannot delete own files on filemount added
Actions #26

Updated by Mathias Brodala almost 6 years ago

  • Related to deleted (Bug #85141: #1375955684: You are not allowed to access the given folder: "user_upload")
Actions #27

Updated by Mathias Brodala almost 6 years ago

  • Has duplicate Bug #85141: #1375955684: You are not allowed to access the given folder: "user_upload" added
Actions #28

Updated by Simon Gilli almost 6 years ago

  • Related to Bug #85243: stuck in infinite loop when deleting a file added
Actions #29

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions #30

Updated by Markus Klein almost 5 years ago

  • Related to Bug #88632: File cannot be deleted from a storage that is not browsable added
Actions

Also available in: Atom PDF