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:
parent
0c1c4c284d
commit
5b90e0e45a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue