Project

General

Profile

Actions

Bug #78362

closed

Misleading error message in install tool while fixing folder permissions

Added by Simon Lipke about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Install Tool
Target version:
-
Start date:
2016-10-20
Due date:
% Done:

0%

Estimated time:
0.50 h
TYPO3 Version:
7
PHP Version:
5.5
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

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"


Files

Actions

Also available in: Atom PDF