mirror of
https://github.com/YunoHost-Apps/zerobin_ynh.git
synced 2024-09-03 18:06:01 +02:00
[fix] missing data & tmp dir creation
This commit is contained in:
parent
292f25e395
commit
73c9a63333
1 changed files with 1 additions and 0 deletions
|
@ -32,6 +32,7 @@ sudo find $final_path -type d | xargs sudo chmod 755
|
|||
sudo chown -R root: $final_path
|
||||
|
||||
# except for data and tmp subdir, where www-data must have write permissions
|
||||
sudo mkdir -p $final_path/{data,tmp}
|
||||
sudo chown -R www-data:root $final_path/{data,tmp}
|
||||
sudo chmod 700 $final_path/{data,tmp}
|
||||
|
||||
|
|
Loading…
Reference in a new issue