From 3a31ddea2b516cebe60c6ac096516db8df101fd0 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 16 Jul 2014 01:07:00 -0700 Subject: provide os_mkdir to workaround permission issues with php mkdir --- mod/cloud.php | 2 +- mod/setup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/cloud.php b/mod/cloud.php index 25773066a..3734f769a 100644 --- a/mod/cloud.php +++ b/mod/cloud.php @@ -37,7 +37,7 @@ function cloud_init(&$a) { require_once('include/reddav.php'); if(! is_dir('store')) - mkdir('store',STORAGE_DEFAULT_PERMISSIONS,false); + os_mkdir('store',STORAGE_DEFAULT_PERMISSIONS,false); $which = null; if(argc() > 1) diff --git a/mod/setup.php b/mod/setup.php index 7932d67af..ad5394335 100755 --- a/mod/setup.php +++ b/mod/setup.php @@ -527,7 +527,7 @@ function check_store(&$checks) { $status = true; $help = ""; - @mkdir('store',STORAGE_DEFAULT_PERMISSIONS); + @os_mkdir('store',STORAGE_DEFAULT_PERMISSIONS); if( !is_writable('store') ) { -- cgit v1.2.3