We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In Linux the umask setting defines the default permissions for newly created files and directories. For instance umask 000 implies that newly created files and directories are created with open permissions by default. diskcache does not seem to respect this setting while creating the cache directory, as the permissions are hard-coded to 755: https://github.com/grantjenks/python-diskcache/blob/master/diskcache/core.py#L447
umask
umask 000
diskcache
Would it be possible to use the default permissions provided by the OS in creating the cache directory?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Linux the
umask
setting defines the default permissions for newly created files and directories. For instanceumask 000
implies that newly created files and directories are created with open permissions by default.diskcache
does not seem to respect this setting while creating the cache directory, as the permissions are hard-coded to 755:https://github.com/grantjenks/python-diskcache/blob/master/diskcache/core.py#L447
Would it be possible to use the default permissions provided by the OS in creating the cache directory?
The text was updated successfully, but these errors were encountered: