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} } #=================================================