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:
parent
ff4db0911d
commit
cfc6160d1f
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue