aboutsummaryrefslogtreecommitdiffstats
path: root/community/nextcloud/nextcloud10-dont-chmod-config.patch
blob: fac13138480334c6009339f79830fb2b0c4e7f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
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