Issue Bug Closed

#78362Misleading error message in install tool while fixing folder permissions

Simon Lipke 10/20/16, 17:26 updated 03/20/20, 20:39

Description

Description:

Typo3 install tool shows a wrong error message when trying to fix permissions of a folder which cannot be accessed by the web user.

Error message:

Permission on […]/web/uploads/media are already ok

Error message should be:

Could not change permissions of file/directory […]/web/uploads/media

Reproduction:

- Change user and group of folder web/uploads/media/ to root:root (sudo chown -R root:root web/uploads/media/)
- Make sure the current web user is not allowed to chmod (chmod 777 web/uploads/media/index.html should show message chmod: changing permissions of ‘web/uploads/media/index.html’: Operation not permitted)
- Log into typo3 install tool, choose “Folder structure” and click “Try to fix file and folder permissions“
- Typo3 should throw an exception with the following message “Permission on /var/www/skeleton_staging/current/web/uploads/media are already ok”

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.