Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2018-06-18 15:02:18 +0300
committernachoparker <nacho@ownyourbits.com>2018-06-18 15:02:18 +0300
commit0d7ceb5ca459a0192b7f4a00539e8c9d87ca8e93 (patch)
tree4e84645e6c6f6aed801c0de24792ef5422bec1be /etc
parent005ed8076a90110fc5bb2d809bb5b2cd56fa024c (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.sh1
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"