1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_webapp_ynh.git synced 2024-09-03 19:46:26 +02:00

[fix] Ensure 'files' directory creation

This commit is contained in:
Le Kload 2015-11-16 01:37:25 +01:00
parent d769d6292e
commit a335e2f332

View file

@ -32,7 +32,8 @@ sudo mkdir -p $final_path
sudo cp ../sources/admin.php $final_path/ sudo cp ../sources/admin.php $final_path/
sudo cp -r ../sources/_assets $final_path/ sudo cp -r ../sources/_assets $final_path/
# Set permissions # Create directory and set permissions
sudo mkdir -p $final_path/files
sudo chmod 775 -R $final_path/files sudo chmod 775 -R $final_path/files
sudo chown -hR www-data:www-data $final_path/files sudo chown -hR www-data:www-data $final_path/files