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 committed by Salamandar
parent 009a56e2eb
commit f9e2932ef5

View file

@ -36,6 +36,10 @@ ynh_script_progression --message="Configuring Cinny..." --weight=1
# Copy over the Cinny configuration file # Copy over the Cinny configuration file
ynh_add_config --template="../conf/cinny.json" --destination="$install_dir/config.json" 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 # END OF SCRIPT
#================================================= #=================================================