From f531ca4ade933782aadb989941788232e935656c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Dufraisse?= Date: Sat, 27 Nov 2021 13:15:34 +0100 Subject: [PATCH] fix(_common.sh) : better rigths after tests The idea is to be similar at what is done by update by yeswiki --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 2ea1bc6..9b3a305 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -24,8 +24,8 @@ yeswiki_update_dir_rights() { local final_path="${2}" chown -R $app:$app $final_path - chmod -R u=rwX,g=rwX,o-rwx $final_path - chmod -R o+rwX $final_path/{cache,files} + chmod -R u=rwX,g=rX,o=rW $final_path + chmod -R g+rwX,o+rwX $final_path/{cache,files} } #=================================================