mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-03 01:56:16 +00:00
filesystem permission checks now issue warnings instead of errors, improves NFS compatibility
This commit is contained in:
@@ -22,7 +22,7 @@ def path_check(var, directory):
|
|||||||
exists_hint.format(directory)
|
exists_hint.format(directory)
|
||||||
))
|
))
|
||||||
elif not os.access(directory, os.W_OK | os.X_OK):
|
elif not os.access(directory, os.W_OK | os.X_OK):
|
||||||
messages.append(Error(
|
messages.append(Warning(
|
||||||
writeable_message.format(var),
|
writeable_message.format(var),
|
||||||
writeable_hint.format(directory)
|
writeable_hint.format(directory)
|
||||||
))
|
))
|
||||||
|
Reference in New Issue
Block a user