mirror of
https://github.com/YunoHost-Apps/ampache_ynh.git
synced 2024-09-03 18:15:55 +02:00
Fix
This commit is contained in:
parent
ee42596a4c
commit
3d34f9d4de
3 changed files with 6 additions and 3 deletions
|
@ -168,7 +168,8 @@ ynh_secure_remove --file=/tmp/admin.sql
|
|||
ynh_script_progression --message="Securing files and directories..."
|
||||
|
||||
# Set permissions to ampache directory
|
||||
chown -R $app: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
chown -R $app:$app $final_path
|
||||
chmod 600 $final_path/config/ampache.cfg.php
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -69,7 +69,8 @@ ynh_system_user_create --username=$app
|
|||
ynh_script_progression --message="Restoring user rights..."
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R $app: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
chown -R $app:$app $final_path
|
||||
chmod 600 $final_path/config/ampache.cfg.php
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -179,7 +179,8 @@ fi
|
|||
ynh_script_progression --message="Securing files and directories..."
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R $app: $final_path
|
||||
chmod -R o-rwx $final_path
|
||||
chown -R $app:$app $final_path
|
||||
chmod 600 $final_path/config/ampache.cfg.php
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue