1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

fix(_common.sh) : better rigths after tests

The idea is to be similar at what is done by update by yeswiki
This commit is contained in:
Jérémy Dufraisse 2021-11-27 13:15:34 +01:00 committed by GitHub
parent 27b90b5dd5
commit f531ca4ade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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