aboutsummaryrefslogtreecommitdiffstats
path: root/main/owncloud/owncloud-9-disable-chmod.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2016-03-15 08:28:04 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2016-03-15 08:28:24 +0000
commiteebec0474349944f45aa103f101750c72c568ffa (patch)
tree1586382b9cd915c74d3883728981a59036ff7040 /main/owncloud/owncloud-9-disable-chmod.patch
parent8d7635008ce4509d1132c533c9b481acd02b7c52 (diff)
downloadaports-eebec0474349944f45aa103f101750c72c568ffa.tar.bz2
aports-eebec0474349944f45aa103f101750c72c568ffa.tar.xz
main/owncloud: fix first run (installation)
Diffstat (limited to 'main/owncloud/owncloud-9-disable-chmod.patch')
-rw-r--r--main/owncloud/owncloud-9-disable-chmod.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/main/owncloud/owncloud-9-disable-chmod.patch b/main/owncloud/owncloud-9-disable-chmod.patch
new file mode 100644
index 0000000000..bd70391c81
--- /dev/null
+++ b/main/owncloud/owncloud-9-disable-chmod.patch
@@ -0,0 +1,12 @@
+--- a/lib/private/config.php
++++ b/lib/private/config.php
+@@ -229,7 +229,8 @@
+ $filePointer = fopen($this->configFilePath, 'r+');
+
+ // Prevent others not to read the config
+- chmod($this->configFilePath, 0640);
++ // Alpine Linux Development - don't do package's job
++ // chmod($this->configFilePath, 0640);
+
+ // File does not exist, this can happen when doing a fresh install
+ if(!is_resource ($filePointer)) {