Patch #18764

upgrade guide: file permissions

Added by Lukas Pirl over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Documentation
Target version:-

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:

  1. 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 files directory.

Or similar.

History

#1 Updated by Toshi MARUYAMA over 5 years ago

  • Category changed from Website (redmine.org) to Documentation
  • Assignee deleted (Jean-Philippe Lang)

#2 Updated by Toshi MARUYAMA over 5 years ago

  • Tracker changed from Defect to Patch
  • Status changed from New to Closed

Added as version 72, thanks.

#3 Updated by Lukas Pirl over 5 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!

#4 Updated by Go MAEDA over 5 years ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF