mirror of
https://github.com/YunoHost-Apps/framagames_ynh.git
synced 2024-09-03 18:36:28 +02:00
Adjustments on folder permissions
This commit is contained in:
parent
0627952c9d
commit
17cb4c252f
1 changed files with 5 additions and 1 deletions
|
@ -36,8 +36,12 @@ sudo mkdir -p $final_path
|
|||
sudo cp ../sources/index.html $final_path/
|
||||
|
||||
# Set permissions
|
||||
sudo chmod 775 /var/www/webapp\_multi
|
||||
sudo chmod 775 /var/www/webapp\_multi/$domain
|
||||
sudo chmod 775 -R $final_path
|
||||
sudo chown -hR www-data:www-data /var/www/webapp\_multi
|
||||
sudo chown www-data:www-data /var/www/webapp\_multi
|
||||
sudo chown www-data:www-data /var/www/webapp\_multi/$domain
|
||||
sudo chown -hR www-data:www-data $final_path
|
||||
|
||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||
|
|
Loading…
Add table
Reference in a new issue