1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/ampache_ynh.git synced 2024-09-03 18:15:55 +02:00
This commit is contained in:
ericgaspar 2021-03-26 18:45:28 +01:00
parent ee42596a4c
commit 3d34f9d4de
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 6 additions and 3 deletions

View file

@ -168,7 +168,8 @@ ynh_secure_remove --file=/tmp/admin.sql
ynh_script_progression --message="Securing files and directories..." ynh_script_progression --message="Securing files and directories..."
# Set permissions to ampache directory # 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 chmod 600 $final_path/config/ampache.cfg.php
#================================================= #=================================================

View file

@ -69,7 +69,8 @@ ynh_system_user_create --username=$app
ynh_script_progression --message="Restoring user rights..." ynh_script_progression --message="Restoring user rights..."
# Restore permissions on app files # 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 chmod 600 $final_path/config/ampache.cfg.php
#================================================= #=================================================

View file

@ -179,7 +179,8 @@ fi
ynh_script_progression --message="Securing files and directories..." ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files # 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 chmod 600 $final_path/config/ampache.cfg.php
#================================================= #=================================================