diff --git a/scripts/upgrade b/scripts/upgrade index cb25391..e51b5cb 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -358,7 +358,7 @@ exec_occ background:cron # Fix app ownerships & permissions chown -R $app:www-data "$install_dir" chown -R $app: "$data_dir" -chmod -R a=r,u+w,a+X $final_path/ +chmod -R a=r,u+w,a+X $install_dir/ chmod -R ug=r,o=---,u+w,ug+X $data_dir/data/ chmod 640 "$install_dir/config/config.php" chmod 755 /home/yunohost.app