summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-14 15:47:58 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-31 10:45:11 +0200
commit4efdbff6dfe20329db145617ed38aa23391b1860 (patch)
tree260e74081df6c79bd98428f46428b73a9c40f598 /lib/private
parentdcc4f96d3e368ee976cd085c18dcb74ada3617ce (diff)
downloadnextcloud-server-4efdbff6dfe20329db145617ed38aa23391b1860.tar.gz
nextcloud-server-4efdbff6dfe20329db145617ed38aa23391b1860.zip
No need for this folder to be world accessible
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/certificatemanager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/certificatemanager.php b/lib/private/certificatemanager.php
index e07413c127f..3a934945786 100644
--- a/lib/private/certificatemanager.php
+++ b/lib/private/certificatemanager.php
@@ -37,7 +37,7 @@ class CertificateManager implements ICertificateManager {
//path might not exist (e.g. non-standard OC_User::getHome() value)
//in this case create full path using 3rd (recursive=true) parameter.
//note that we use "normal" php filesystem functions here since the certs need to be local
- mkdir($path, 0777, true);
+ mkdir($path, 0700, true);
}
$result = array();
$handle = opendir($path);