Actions
Defect #27538
closedRedmine installation documentation incorrectly suggests setting uploaded file permissions to 0755, making them executable for everybody
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Official redmine installation documentation at https://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-8-File-system-permissions tells us to
chmod -R 755 files log tmp public/plugin_assets
to setup correct file system permissions.
However, this leads to all user uploaded files to get 0755 file permissions, which makes them executable (for everybody).
You'd rather should suggest something like
find files log tmp public/plugin_assets -type d -exec chmod 775 {} + find files log tmp public/plugin_assets -type f -exec chmod 664 {} +
instead.
Check and update of documentation is needed before the Redmine Docker image maintainers update their docker-entrypoint.sh accordingly, see https://github.com/docker-library/redmine/issues/94
Thanks for having a look at this!
Actions