Skip to content
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

Merged
merged 2 commits into from
Feb 11, 2025

Conversation

harshit-soora
Copy link
Contributor

@harshit-soora harshit-soora commented Feb 7, 2025

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.

@@ -253,6 +253,15 @@ def make_dir
false
end

def updated_permission
# Read and execute to others
project_dataroot.chmod(0775)
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

@harshit-soora
Copy link
Contributor Author

Mistakenly closed while rebasing with master

@harshit-soora harshit-soora changed the title Updated the project directory permission allowing group and onwers to rwx Updated the project directory permission allowing group to read and execute files Feb 11, 2025
@johrstrom
Copy link
Contributor

Looks fine, went to merge, but your commit isn't correctly associated with your github user. The email address associated with the commit is a very strange one.

image

@harshit-soora
Copy link
Contributor Author

harshit-soora commented Feb 11, 2025

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.

@johrstrom johrstrom merged commit c9a3b77 into OSC:master Feb 11, 2025
22 checks passed
@johrstrom
Copy link
Contributor

Yea it's fine, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants