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
For my flask app's service, the user is a no-login user, and somehow this resolves to /var/www/.
The user doesn't have permissions to create a directory there, so the flask app crashes with a PermissionError raised from.
The text was updated successfully, but these errors were encountered:
Leaving a few more details on scikit-image/scikit-image#4664... for my flask app running under user www-data, the home directory is /var/www. Here is the output of getent passwd www-data:
Appdirs doesn't do tests of the viability of a directory for writing content to it. It provides what the directory should be according to the XDG spec, effectively $HOME or set the XDG environment variable XDG_CACHE_HOME.
It seems like appdirs can return a directory that cannot be written to.
Is this an expected feature?
scikit-image/scikit-image#4664
From the original user:
The text was updated successfully, but these errors were encountered: