mirror of
https://github.com/YunoHost-Apps/limesurvey_ynh.git
synced 2024-09-03 19:36:32 +02:00
Own $datadir/upload folder
This commit is contained in:
parent
0b4e62615c
commit
3ce21af700
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ mkdir -p $datadir/upload/surveys
|
||||||
rmdir $datadir 2> /dev/null && mv "$final_path/upload" $datadir || true
|
rmdir $datadir 2> /dev/null && mv "$final_path/upload" $datadir || true
|
||||||
chmod -R o-rwx "$datadir"
|
chmod -R o-rwx "$datadir"
|
||||||
chown -R $app:www-data "$datadir"
|
chown -R $app:www-data "$datadir"
|
||||||
|
chown -h $app:www-data upload
|
||||||
ln -s $datadir/upload $final_path/upload 2> /dev/null || true
|
ln -s $datadir/upload $final_path/upload 2> /dev/null || true
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue