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

restG4 not working if user doesn't have permissions in cwd #73

Closed
lobis opened this issue Oct 6, 2022 · 0 comments · Fixed by rest-for-physics/framework#314
Closed
Assignees

Comments

@lobis
Copy link
Member

lobis commented Oct 6, 2022

We should be able to do do:

restG4 -o some-directory-with-write-permissions some.rml

but it currently fails if restG4 is launched from a directory without write permissions, even though you should only need to read the required files and not write.

Looks like the problem is related to TRestRun

-- Warning : no input file added
-- Error : TRestRun: Output path does not exist or it is not writable.
-- Error : Path : ./

It is performing some kind of check on write permissions for the directory after being loaded from an rml from the same directory. We should not return an error when this happens, perhaps a warning.

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

Successfully merging a pull request may close this issue.

1 participant