From 4efdbff6dfe20329db145617ed38aa23391b1860 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 14 Aug 2014 15:47:58 +0200 Subject: No need for this folder to be world accessible --- lib/private/certificatemanager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3