mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
This commit is contained in:
parent
fc177df863
commit
195de62308
3 changed files with 12 additions and 12 deletions
|
@ -257,10 +257,10 @@ ynh_multimedia_addaccess $app
|
|||
# Fix app ownerships & permissions
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chown -R $app: "$data_dir"
|
||||
find $install_dir/ -type f -print0 | xargs -0 chmod 0644
|
||||
find $install_dir/ -type d -print0 | xargs -0 chmod 0755
|
||||
find $data_dir/data/ -type f -print0 | xargs -0 chmod 0640
|
||||
find $data_dir/data/ -type d -print0 | xargs -0 chmod 0750
|
||||
find $install_dir/ -type f -print0 | xargs -r0 chmod 0644
|
||||
find $install_dir/ -type d -print0 | xargs -r0 chmod 0755
|
||||
find $data_dir/data/ -type f -print0 | xargs -r0 chmod 0640
|
||||
find $data_dir/data/ -type d -print0 | xargs -r0 chmod 0750
|
||||
chmod 640 "$install_dir/config/config.php"
|
||||
chmod 755 /home/yunohost.app
|
||||
chmod 750 $install_dir
|
||||
|
|
|
@ -81,10 +81,10 @@ ynh_restore_file --origin_path="$data_dir" --not_mandatory
|
|||
# Fix app ownerships & permissions
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chown -R $app: "$data_dir"
|
||||
find $install_dir/ -type f -print0 | xargs -0 chmod 0644
|
||||
find $install_dir/ -type d -print0 | xargs -0 chmod 0755
|
||||
find $data_dir/data/ -type f -print0 | xargs -0 chmod 0640
|
||||
find $data_dir/data/ -type d -print0 | xargs -0 chmod 0750
|
||||
find $install_dir/ -type f -print0 | xargs -r0 chmod 0644
|
||||
find $install_dir/ -type d -print0 | xargs -r0 chmod 0755
|
||||
find $data_dir/data/ -type f -print0 | xargs -r0 chmod 0640
|
||||
find $data_dir/data/ -type d -print0 | xargs -r0 chmod 0750
|
||||
chmod 640 "$install_dir/config/config.php"
|
||||
chmod 755 /home/yunohost.app
|
||||
chmod 750 $install_dir
|
||||
|
|
|
@ -341,10 +341,10 @@ exec_occ background:cron
|
|||
# Fix app ownerships & permissions
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chown -R $app: "$data_dir"
|
||||
find $install_dir/ -type f -print0 | xargs -0 chmod 0644
|
||||
find $install_dir/ -type d -print0 | xargs -0 chmod 0755
|
||||
find $data_dir/data/ -type f -print0 | xargs -0 chmod 0640
|
||||
find $data_dir/data/ -type d -print0 | xargs -0 chmod 0750
|
||||
find $install_dir/ -type f -print0 | xargs -r0 chmod 0644
|
||||
find $install_dir/ -type d -print0 | xargs -r0 chmod 0755
|
||||
find $data_dir/data/ -type f -print0 | xargs -r0 chmod 0640
|
||||
find $data_dir/data/ -type d -print0 | xargs -r0 chmod 0750
|
||||
chmod 640 "$install_dir/config/config.php"
|
||||
chmod 755 /home/yunohost.app
|
||||
chmod 750 $install_dir
|
||||
|
|
Loading…
Add table
Reference in a new issue