Project

General

Profile

Actions

Patch #18764

closed

upgrade guide: file permissions

Added by Lukas Pirl almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

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.

Actions #1

Updated by Toshi MARUYAMA almost 10 years ago

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

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.

Actions #3

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!

Actions #4

Updated by Go MAEDA over 9 years ago

  • Status changed from Reopened to Closed
Actions

Also available in: Atom PDF