diff --git a/CHANGELOG.md b/CHANGELOG.md index 23f73485..97869621 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ * Add: option [auth] type oauth2 by code migration from https://gitlab.mim-libre.fr/alphabet/radicale_oauth/-/blob/dev/oauth2/ * Fix: catch OS errors on PUT MKCOL MKCALENDAR MOVE PROPPATCH (insufficient storage, access denied, internal server error) * Test: skip bcrypt related tests if module is missing -* Improve: relax mtime check on storage filesystem +* Improve: relax mtime check on storage filesystem, change test file location to "collection-root" directory ## 3.4.1 * Add: option [auth] dovecot_connection_type / dovecot_host / dovecot_port diff --git a/radicale/storage/multifilesystem/__init__.py b/radicale/storage/multifilesystem/__init__.py index 1a933d14..c5b8d439 100644 --- a/radicale/storage/multifilesystem/__init__.py +++ b/radicale/storage/multifilesystem/__init__.py @@ -94,7 +94,7 @@ class Storage( def _analyse_mtime(self): # calculate and display mtime resolution - path = os.path.join(self._filesystem_folder, ".Radicale.mtime_test") + path = os.path.join(self._get_collection_root_folder(), ".Radicale.mtime_test") logger.debug("Storage item mtime resolution test with file: %r", path) try: with open(path, "w") as f: