Commit ccbee2dd4e1f2f11698151610e06477c6cf595df
1 parent
8ec87f61
updated to use umask
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@946 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
1 deletions
lib/foldermanagement/PhysicalFolderManagement.inc
| @@ -22,7 +22,9 @@ class PhysicalFolderManagement { | @@ -22,7 +22,9 @@ class PhysicalFolderManagement { | ||
| 22 | * | 22 | * |
| 23 | */ | 23 | */ |
| 24 | function createFolder($sPath) { | 24 | function createFolder($sPath) { |
| 25 | - return mkdir($sPath, 0700); | 25 | + global $default; |
| 26 | + | ||
| 27 | + return mkdir($sPath, $default->uMask); | ||
| 26 | } | 28 | } |
| 27 | 29 | ||
| 28 | /** | 30 | /** |