1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nextcloud_ynh.git synced 2024-09-03 19:55:57 +02:00

[fix] Remove permissions to others

This commit is contained in:
ljf (zamentur) 2023-12-08 22:55:25 +01:00 committed by GitHub
parent ff4db0911d
commit cfc6160d1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -260,7 +260,7 @@ ynh_multimedia_addaccess $app
chown -R $app:www-data "$install_dir"
chown -R $app: "$data_dir"
chmod -R a=r,u+w,a+X $install_dir/
chmod -R a=r,u+w,a+X $data_dir/data/
chmod -R ug=r,o=---,u+w,ug+X $data_dir/data/
chmod 640 "$install_dir/config/config.php"
chmod 755 /home/yunohost.app
chmod 750 $install_dir

View file

@ -82,7 +82,7 @@ ynh_restore_file --origin_path="$data_dir" --not_mandatory
chown -R $app:www-data "$install_dir"
chown -R $app: "$data_dir"
chmod -R a=r,u+w,a+X $install_dir/
chmod -R a=r,u+w,a+X $data_dir/data/
chmod -R ug=r,o=---,u+w,ug+X $data_dir/data/
chmod 640 "$install_dir/config/config.php"
chmod 755 /home/yunohost.app
chmod 750 $install_dir

View file

@ -359,7 +359,7 @@ exec_occ background:cron
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 $datadir/data/
chmod -R ug=r,o=---,u+w,ug+X $data_dir/data/
chmod 640 "$install_dir/config/config.php"
chmod 755 /home/yunohost.app
chmod 750 $install_dir