From a4698a44756644bcfc8fbcf07da837439a82ef51 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 29 Jun 2025 09:35:47 +0200 Subject: [PATCH] catch next windows related issue --- radicale/pathutils.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/radicale/pathutils.py b/radicale/pathutils.py index 0902eacf..b204635a 100644 --- a/radicale/pathutils.py +++ b/radicale/pathutils.py @@ -324,6 +324,9 @@ def path_permissions(path): def path_permissions_as_string(path): - pp = path_permissions(path) - s = "path=%r owner=%s group=%s mode=%o" % (path, pp[0], pp[1], pp[2]) + try: + pp = path_permissions(path) + s = "path=%r owner=%s group=%s mode=%o" % (path, pp[0], pp[1], pp[2]) + except NotImplementedError: + s = "path=%r owner=UNKNOWN(unsupported on this system)" % (path) return s