Actions
Feature #42405
opendon't use chmod -R 755
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
Updated by Grischa Zengel about 2 months ago
If you want to force remove x: chmod -R =r,+X,u+w
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
.
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
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