1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cinny_ynh.git synced 2024-09-03 18:16:13 +02:00

Fix permissions in the install dir

This commit is contained in:
Nathan Gill 2023-08-10 18:00:49 -04:00
parent 18f8fa8fe9
commit e1431c75e2
No known key found for this signature in database
GPG key ID: 31C6F6D2BA2E1768

View file

@ -36,6 +36,10 @@ ynh_script_progression --message="Configuring Cinny..." --weight=1
# Copy over the Cinny configuration file
ynh_add_config --template="../conf/cinny.json" --destination="$install_dir/config.json"
# Fix any permissions in the install dir
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
#=================================================
# END OF SCRIPT
#=================================================