You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user_runtime_dir method on unix systems other than several BSDs defaults to /run/user/{uid} even if that directory doesn't exist or isn't writable.
If $XDG_RUNTIME_DIR is not set applications should fall back to a replacement directory with similar capabilities and print a warning message. Applications should use this directory for communication and synchronization purposes and should not place larger files in it, since it might reside in runtime memory and cannot necessarily be swapped out to disk.
The issue here is that platformdirs is not necessarily checking that the fallback directory is valid.