Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

analysis file permissions - set open #1218

Open
CBroz1 opened this issue Jan 30, 2025 · 0 comments
Open

analysis file permissions - set open #1218

CBroz1 opened this issue Jan 30, 2025 · 0 comments

Comments

@CBroz1
Copy link
Member

CBroz1 commented Jan 30, 2025

Is your feature request related to a problem? Please describe.

We previously decided as a lab to open up analysis file permissions, and ran chmod -R 777 on this directory, but this doesn't impact new files, and needs to be rerun occasionally

Describe the solution you'd like

To reflect this for decision for new files, we need to edit

# change the permissions to only allow owner to write
permissions = stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP | stat.S_IROTH
os.chmod(analysis_file_abs_path, permissions)

And publish release notes detailing the chmod approach as a transition mechanism

Describe alternatives you've considered

Manual running of chmod whenever issues arise let's other labs decide how to set up file permissions individually.

Additional context

n/a

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant