diff --git a/radicale/storage/multifilesystem/__init__.py b/radicale/storage/multifilesystem/__init__.py index 7deeaac7..65ea9b81 100644 --- a/radicale/storage/multifilesystem/__init__.py +++ b/radicale/storage/multifilesystem/__init__.py @@ -110,7 +110,7 @@ class Storage( except Exception as e: logger.warning("Storage item mtime resolution test not possible, cannot set utime on file: %r (%s)", path, e) os.remove(path) - raise + raise ValueError # do not raise a hard PermissionError logger.debug("Storage item mtime resoultion test set: %d ns" % MTIME_NS_TEST) mtime_ns = os.stat(path).st_mtime_ns - mtime_ns logger.debug("Storage item mtime resoultion test get: %d ns" % mtime_ns)