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

Check permissions before attempting to write data #102

Open
stuartmcalpine opened this issue Mar 29, 2024 · 1 comment
Open

Check permissions before attempting to write data #102

stuartmcalpine opened this issue Mar 29, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@stuartmcalpine
Copy link
Collaborator

Currently the copying of data is done within a try, if it fails the entry in the database is flagged as "invalid".

However it would be good to check before any copying attempt if the user has write permission to the root_dir so that its a bit cleaner, and no invalid entry would be made.

The user can easily come across this if they are changing their root_dir or site by mistake, or simply don't have write permission to the NERSC site space.

@stuartmcalpine stuartmcalpine added the enhancement New feature or request label Mar 29, 2024
@stuartmcalpine stuartmcalpine self-assigned this Mar 29, 2024
@stuartmcalpine
Copy link
Collaborator Author

Starting to address this in #116

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant