From 71e8d86d9ee2ce1c39fec7d8e015690045ece75d Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Fri, 1 Jul 2016 11:12:08 +0100 Subject: [PATCH] fix perms on start up so upload limit can be set, make /data the default storage on first setup --- root/defaults/config.php | 3 ++- root/etc/cont-init.d/50-install | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/root/defaults/config.php b/root/defaults/config.php index 7265d7c4..7a17b703 100644 --- a/root/defaults/config.php +++ b/root/defaults/config.php @@ -1,5 +1,6 @@ '\OC\Memcache\APCu', + 'datadirectory' => '/data', ); - + diff --git a/root/etc/cont-init.d/50-install b/root/etc/cont-init.d/50-install index 899b410d..20bb0f48 100644 --- a/root/etc/cont-init.d/50-install +++ b/root/etc/cont-init.d/50-install @@ -10,4 +10,5 @@ cd /tmp || true unzip nextcloud.zip mv /tmp/nextcloud "${NEXTCLOUD_PATH}" rm -f /tmp/nextcloud.zip +chown abc:abc -R "${NEXTCLOUD_PATH}" fi