From 53251231d4ef4a1c3fa02a82eacf2271c4ae5af9 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Fri, 21 Feb 2025 07:41:01 +0100 Subject: [PATCH 1/2] change mtime test file location to collection-root --- radicale/storage/multifilesystem/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From c3c61c692e35de1d28a1b06fcc3b15282f9c908f Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Fri, 21 Feb 2025 07:41:54 +0100 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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