-
Notifications
You must be signed in to change notification settings - Fork 6
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
PermissionError: [Errno 13] Permission denied: '/home/ansible/wfexs-backend-test/wf-cache' #53
Comments
In order to double check I have been having a look at the different points where directories are created, and as I was remembering no one of the So, my guess is that the initial umask inherited by the process calling WfExS is what it can be troublesome in the first call. |
@jmfernandez, I've done some reading and a little playing around. I think the best thing to do is: in the places where you are calling |
Hi @dcl10 , the real point there is that
The mask from the Of course, a process is allowed to change its own
Typical programs changing its So, my recommendation is that the |
As there has not been more feedback about this issue, I'm closing it as stale |
Description
When staging a workflow for the first time as non-sudo/root user I'm getting the error in the title. Oddly, deleting the cache dir and re-running the
stage
command seems to fix the issue. As does adding write permissions withchown
. I'm not sure if it has anything to do with the calls toos.makesirs
or a umask issue.Here's something I was reading about the problem. Not sure if it will be helpful. https://stackoverflow.com/questions/5231901/permission-problems-when-creating-a-dir-with-os-makedirs-in-python/67723702#67723702
The text was updated successfully, but these errors were encountered: