From 139e54a2e52f7a8fa38df8b1c48d52204173051e Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 23 Feb 2023 21:53:59 +0100 Subject: [PATCH] appsv2: data_dir's owner should have rwx by default --- src/utils/resources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/resources.py b/src/utils/resources.py index fafbfb45b..15d139f4b 100644 --- a/src/utils/resources.py +++ b/src/utils/resources.py @@ -665,7 +665,7 @@ class DatadirAppResource(AppResource): ##### Properties: - `dir`: (default: `/home/yunohost.app/__APP__`) The full path of the data dir - - `owner`: (default: `__APP__:rx`) The owner (and owner permissions) for the data dir + - `owner`: (default: `__APP__:rwx`) The owner (and owner permissions) for the data dir - `group`: (default: `__APP__:rx`) The group (and group permissions) for the data dir ##### Provision/Update: @@ -694,7 +694,7 @@ class DatadirAppResource(AppResource): default_properties: Dict[str, Any] = { "dir": "/home/yunohost.app/__APP__", - "owner": "__APP__:rx", + "owner": "__APP__:rwx", "group": "__APP__:rx", }