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:
parent
009a56e2eb
commit
f9e2932ef5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue