From 0d7ceb5ca459a0192b7f4a00539e8c9d87ca8e93 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Mon, 18 Jun 2018 14:02:18 +0200 Subject: nc-datadir: make sure we have the correct permissions --- etc/ncp-config.d/nc-datadir.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') 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" -- cgit v1.2.3