upgrade guide: file permissions
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.
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.
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 the
#3 Updated by Lukas Pirl over 6 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.
Also, remember to add write permissions to the files directory.
Also, remember to add write permissions to the @files@, @log@ and @tmp@ directory.
Thanks in advance!
#4 Updated by Go MAEDA over 6 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