Patch #18764
closedupgrade guide: file permissions
0%
Description
Problem:
The files in the tar.gz
release archives belong to a certain user and are preserved per default if extracted as root. This makes them inaccessible to the user running the application server in most cases.
Similar effects can probably be observed when extracting the zip
archive with a strict umask.
Cause:
The page RedmineUpgrade lacks a step to ensure file ownership/permissions.
This is no big deal but the guide could avoid a minor frustration providently.
Fix:
To solve this, I'd introduce step 9 under Step 3 - Perform the upgrade -> Option 1 - Download a stable release
:
- Make sure the newly extracted and copied files and directories have the correct owner and group set, so that the user/group running your application server can actually access the files.
Also, remember to add write permissions to thefiles
directory.
Or similar.
Updated by Toshi MARUYAMA almost 10 years ago
- Category changed from Website (redmine.org) to Documentation
- Assignee deleted (
Jean-Philippe Lang)
Updated by Toshi MARUYAMA almost 10 years ago
- Tracker changed from Defect to Patch
- Status changed from New to Closed
Added as version 72, thanks.
Updated by Lukas Pirl over 9 years ago
- Status changed from Closed to Reopened
I just came across another directory that should be mentioned: tmp
should have write permissions to the user running the app server as well.
So
Also, remember to add write permissions to the files directory.
should be
Also, remember to add write permissions to the @files@, @log@ and @tmp@ directory.
Thanks in advance!
Updated by Go MAEDA over 9 years ago
- Status changed from Reopened to Closed
Thank you for providing additional information.
I fixed the page: http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade/diff?utf8=%E2%9C%93&version=74&version_from=73&commit=View+differences