diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-06-18 15:02:18 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-06-18 15:02:18 +0300 |
commit | 0d7ceb5ca459a0192b7f4a00539e8c9d87ca8e93 (patch) | |
tree | 4e84645e6c6f6aed801c0de24792ef5422bec1be /etc | |
parent | 005ed8076a90110fc5bb2d809bb5b2cd56fa024c (diff) |
nc-datadir: make sure we have the correct permissionsv0.56.24
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ncp-config.d/nc-datadir.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/ncp-config.d/nc-datadir.sh b/etc/ncp-config.d/nc-datadir.sh index 2be3c9f9..da5059ae 100644 --- a/etc/ncp-config.d/nc-datadir.sh +++ b/etc/ncp-config.d/nc-datadir.sh @@ -72,6 +72,7 @@ configure() } cp --reflink=auto -raT "$SRCDIR" "$DATADIR_" || return 1 + chown www-data:www-data "$DATADIR_" # tmp upload dir mkdir -p "$DATADIR_/tmp" |