Project

General

Custom queries



Profile

Actions

Feature #42405

open

don't use chmod -R 755

Added by Grischa Zengel about 2 months ago. Updated about 1 month ago.

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

0%

Estimated time:
Resolution:

Description

In many places (e.g. https://www.redmine.org/projects/redmine/wiki/RedmineInstall) you say using chmod -R 755 and later something like find files log tmp public/assets -type f -exec chmod -x {} + for removing x from files.

Better use chmod -R a=rX,u+w

Actions #1

Updated by Grischa Zengel about 2 months ago

If you want to force remove x: chmod -R =r,+X,u+w

Actions #2

Updated by Go MAEDA about 1 month ago

  • Category set to Documentation
Actions #3

Updated by Go MAEDA about 1 month ago

Grischa Zengel wrote:

Better use chmod -R a=rX,u+w

Probably chmod -R a=rX,u+w,g+w is more consistent with chmod -R 755.

Actions #4

Updated by Grischa Zengel about 1 month ago

No

755 =
Bit 1 1 1 1 0 1 1 0 1
right r w x r w x r w x
User U U U G G G O O O

There is no g+w

Actions #5

Updated by Go MAEDA about 1 month ago

Grischa Zengel wrote in #note-4:

No

755 =
Bit 1 1 1 1 0 1 1 0 1
right r w x r w x r w x
User U U U G G G O O O

There is no g+w

Sorry, you are right.

Actions

Also available in: Atom PDF