-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated the project directory permission allowing group to read and execute files #4129
Conversation
apps/dashboard/app/models/project.rb
Outdated
@@ -253,6 +253,15 @@ def make_dir | |||
false | |||
end | |||
|
|||
def updated_permission | |||
# Read and execute to others | |||
project_dataroot.chmod(0775) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we should use 0750 for a little bit of safety.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
239e150
to
70ad935
Compare
Mistakenly closed while rebasing with master |
I removed the “comment statement” to add another git commit. Last time I missed to configure my name and email. I hope now we are okay to merge. |
Yea it's fine, thanks. |
Related to Issue #4121
By default directory permissions were rwxr-xr-x.
This is updated to rwxr-x---, thus groups can also read and execute the files inside of the project directory (as before) while others will have no permissions to ensure safety.
Locally tested the changes with OOD master branch instance running on OOD.