-
-
Notifications
You must be signed in to change notification settings - Fork 747
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
linux get_runtime_dir() result for root #7640
Comments
I am not sure if the error I am encountering is the same as this one, but to me it seems not to be the case. I can make borgbackup pass all tests during build by changing the permissions for /run/usr to writable for everyone. Please let me know if you need more info. |
@priand1 It's not the same as you did not run borg as root. In your case, I suspect that |
@ThomasWaldmann Thanks for your answer. Is it that I should Please let me know. Thank you. |
@priand1 The traceback you got is not completely clear, so what I said was an educated guess rather. But I'ld say something is wrong in that environment, either there should be permissions to create that So you maybe could write a much simpler python program and push it to that build service:
If that raises an exception, file a bug against the build service or OS. |
@ThomasWaldmann Thank you! |
Still happens with current code / packages. |
The permission denied error when it tries to create To avoid this, See #7778. |
Just tested the lunar64 VM again and the permission denied is gone, thus closing this. |
getting permission denied when unit tests run on ubuntu lunar64 when dealing with
/run/user/0
.this is a bug in
platformdirs
, see: tox-dev/platformdirs#188workaround: use BORG_RUNTIME_DIR to override
The text was updated successfully, but these errors were encountered: