diff options
author | Christian Dickmann <dickmann@php.net> | 2003-01-07 23:12:06 +0000 |
---|---|---|
committer | Christian Dickmann <dickmann@php.net> | 2003-01-07 23:12:06 +0000 |
commit | 26e393c69fc106a2ab6b92e8f74189c2ac6f894d (patch) | |
tree | 8981b63226067aa9bd9c890872ec83a975956043 /pear | |
parent | 19b25ca5d29be09365854ebc179eb3cf679d42b1 (diff) | |
download | php-git-26e393c69fc106a2ab6b92e8f74189c2ac6f894d.tar.gz |
fix default umask(); (thx to Mirco MEEBEY Bauer for bringing this behavior to my attention and testing the patch)
Diffstat (limited to 'pear')
-rw-r--r-- | pear/PEAR/Config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Config.php b/pear/PEAR/Config.php index b1292eefeb..28584b9a74 100644 --- a/pear/PEAR/Config.php +++ b/pear/PEAR/Config.php @@ -142,7 +142,7 @@ if (isset($_ENV['PHP_PEAR_PREFERRED_STATE'])) { if (isset($_ENV['PHP_PEAR_UMASK'])) { define('PEAR_CONFIG_DEFAULT_UMASK', $_ENV['PHP_PEAR_UMASK']); } else { - define('PEAR_CONFIG_DEFAULT_UMASK', umask()); + define('PEAR_CONFIG_DEFAULT_UMASK', decoct(umask())); } // Default for cache_ttl |