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:
parent
d769d6292e
commit
a335e2f332
1 changed files with 2 additions and 1 deletions
|
@ -32,7 +32,8 @@ sudo mkdir -p $final_path
|
|||
sudo cp ../sources/admin.php $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 chown -hR www-data:www-data $final_path/files
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue