1
0
Fork 0
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:
julienmalik 2016-09-23 15:48:34 +02:00 committed by GitHub
parent 292f25e395
commit 73c9a63333

View file

@ -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}