aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/nextcloud/APKBUILD2
-rw-r--r--main/nextcloud/nextcloud10-dont-chmod-config.patch12
2 files changed, 13 insertions, 1 deletions
diff --git a/main/nextcloud/APKBUILD b/main/nextcloud/APKBUILD
index 20c7382a41..d04714f6b4 100644
--- a/main/nextcloud/APKBUILD
+++ b/main/nextcloud/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=nextcloud
pkgver="10.0.0"
-pkgrel=0
+pkgrel=1
pkgdesc="A safe home for all your data"
url="http://nextcloud.com"
arch="noarch"
diff --git a/main/nextcloud/nextcloud10-dont-chmod-config.patch b/main/nextcloud/nextcloud10-dont-chmod-config.patch
new file mode 100644
index 0000000000..fac1313848
--- /dev/null
+++ b/main/nextcloud/nextcloud10-dont-chmod-config.patch
@@ -0,0 +1,12 @@
+--- a/lib/private/Config.php
++++ b/lib/private/Config.php
+@@ -229,9 +229,6 @@
+ touch ($this->configFilePath);
+ $filePointer = fopen($this->configFilePath, 'r+');
+
+- // Prevent others not to read the config
+- chmod($this->configFilePath, 0640);
+-
+ // File does not exist, this can happen when doing a fresh install
+ if(!is_resource ($filePointer)) {
+ // TODO fix this via DI once it is very clear that this doesn't cause side effects due to initialization order