diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-08-29 13:01:57 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2016-08-29 13:02:08 +0000 |
commit | 7ee4a402c339bdda12105b4e5a031e5eeb4901e0 (patch) | |
tree | 3fbab1e00816e51ebc4e42f7825ed64a3b223b3a /main/nextcloud/nextcloud10-dont-chmod-config.patch | |
parent | c51abd40826499b7b04eb25d8f170fddc5bb5b79 (diff) | |
download | aports-7ee4a402c339bdda12105b4e5a031e5eeb4901e0.tar.bz2 aports-7ee4a402c339bdda12105b4e5a031e5eeb4901e0.tar.xz |
main/nextcloud: add missing patch
Diffstat (limited to 'main/nextcloud/nextcloud10-dont-chmod-config.patch')
-rw-r--r-- | main/nextcloud/nextcloud10-dont-chmod-config.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 |