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

we can avoid this chmod too i guess?

This commit is contained in:
Kayou 2024-07-31 15:13:04 +02:00 committed by GitHub
parent d240d552b4
commit 30b2d8123a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,8 +327,6 @@ ynh_script_progression --message="Reapplying file permissions..." --weight=2
chown -R $app:www-data "$install_dir"
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