No need for this folder to be world accessible

This commit is contained in:
Robin Appelman 2014-08-14 15:47:58 +02:00
parent dcc4f96d3e
commit 4efdbff6df
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class CertificateManager implements ICertificateManager {
//path might not exist (e.g. non-standard OC_User::getHome() value) //path might not exist (e.g. non-standard OC_User::getHome() value)
//in this case create full path using 3rd (recursive=true) parameter. //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 //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(); $result = array();
$handle = opendir($path); $handle = opendir($path);