1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/question2answer_ynh.git synced 2024-09-03 20:16:07 +02:00

permissions

This commit is contained in:
Salamandar 2024-01-24 12:33:10 +01:00
parent 0c1c4c284d
commit 5b90e0e45a

View file

@ -48,6 +48,10 @@ ynh_replace_string --target_file="$install_dir/qa-config.php" --match_string="yo
ynh_replace_string --target_file="$install_dir/qa-config.php" --match_string="your-mysql-password" --replace_string="$db_pwd"
ynh_replace_string --target_file="$install_dir/qa-config.php" --match_string="your-mysql-db-name" --replace_string="$db_name"
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R "$app:www-data" "$install_dir"
#=================================================
# SYSTEM CONFIGURATION
#=================================================