-
-
Notifications
You must be signed in to change notification settings - Fork 751
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
*bsd get_runtime_dir() #7638
Comments
Root cause: there is no Can someone manage filing a bug there? Thanks! |
|
does installing pam_xdg help? |
didn't try that. is that something usually found on bsd systems? |
it's a package in freebsd, not sure about the other ones. |
i was busy for a bit, but it looks like someone contributed a fix in the meantime tox-dev/platformdirs#194 does that fix this? |
Left a comment there. Guess it at least does not return a completely invalid path any more. OTOH, not sure if it always works as expected, see there. |
TODO: retry with current platformdirs release. |
note: platformdirs can also create the directory itself, using the |
is this now fixed? |
Not sure. They merged a change that I guess should work for non-root logged-in users, but not sure about root or when running stuff as a system service. |
Current code / packages on freebsd:
So guess this is fixed now. |
from
platformdirs
we get/run/user/1001/pytest
, then we callos.makedirs(d, mode=511, exist_ok=True)
and that fails onos.mkdir("/run", mode=511)
due to permission denied.The text was updated successfully, but these errors were encountered: