ID:               37691
 Updated by:       [EMAIL PROTECTED]
 Reported By:      calin at action dot ro
-Status:           Open
+Status:           Feedback
 Bug Type:         *Directory/Filesystem functions
 Operating System: Redhat Linux AS4 U3
 PHP Version:      5.1.4
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

We still know nothing about your environment and the reasons that make
you think the umask has been changed by other PHP process.


Previous Comments:
------------------------------------------------------------------------

[2006-06-29 20:20:48] calin at action dot ro

The umask that is set for apache environment is 022.
I would expect that environmental settings for apache to be used by php
processes so the default umask for a php process to be 18 (22 octal)

I would expect that this default umask not to be influenced by umask
alteration by other php processes.

Thanks

------------------------------------------------------------------------

[2006-06-13 01:00:01] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2006-06-05 07:47:32] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2006-06-03 23:33:53] calin at action dot ro

Description:
------------
Hello!

I am using PHP compiled as DSO.

Echoing the umask() I get 79 (117 octal).

My system sets the 0022 mask for the apache environment.

How can this default mask be set globaly for the server environment
(php.ini?) ?

Maybe related to #36630??? (even though bug is marked as closed)

Reproduce code:
---------------
echo umask();

Expected result:
----------------
18 
which will be 22 octal because the environment in which apache runs has
0022 mask

AND

clear explanations in documentation on how php gets it's default mask
settings



Actual result:
--------------
the output of echo command:

79


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37691&edit=1

Reply via email to