diff --git a/scripts/install b/scripts/install index 29ddc79..0e9ca13 100755 --- a/scripts/install +++ b/scripts/install @@ -142,9 +142,9 @@ mkdir -p /home/yunohost.${app}/uploads/{big,medium,small,thumb,import} #================================================= # Set permissions to app files -chown -R www-data:www-data $final_path +chown -R $app: $final_path chown -R $app: /home/yunohost.${app} -chmod -R 755 /home/yunohost.${app}/uploads +chmod -R 750 /home/yunohost.${app}/uploads #================================================= # SETUP SSOWAT