From 1c0c05e3f4c9e995ba2ee8ec15df533fb345f2a6 Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Mon, 1 Apr 2019 16:35:28 -0300 Subject: [PATCH] fix(middlewared/filesystem): return correct ACL for MacOS Ticket: #75388 --- src/middlewared/middlewared/plugins/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/middlewared/middlewared/plugins/filesystem.py b/src/middlewared/middlewared/plugins/filesystem.py index a5991dbfc9a5..1f683cb71005 100644 --- a/src/middlewared/middlewared/plugins/filesystem.py +++ b/src/middlewared/middlewared/plugins/filesystem.py @@ -103,7 +103,7 @@ def stat(self, path): if os.path.exists(os.path.join(path, ".windows")): stat["acl"] = "windows" - elif os.path.exists(os.path.join(path, ".mac")): + elif os.path.exists(os.path.join(path, ".apple")): stat["acl"] = "mac" else: stat["acl"] = "unix"