That is the way symfony1 works. It forces the umask. But that's not something we want to do in Symfony2. It's up to the user to change the umask if he wants. We have a bunch of tickets about that for symfony1.

Fabien

--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.org | fabien.potencier.org
Tél: +33 1 40 99 80 80

On 9/20/10 12:23 AM, Thomas Rabaix wrote:

branch : git://github.com/rande/symfony.git
<http://github.com/rande/symfony.git> umask
commit :
http://github.com/rande/symfony/commit/f6318c306e94c6b450839af8e47bbfba3fdc60d9

mkdir uses the default umask to alter the mode provided as second argument.

So if umask() = 022, mkdir('test', 0777) will not generate a repository
with 777 mode but with 0755 mode.

--
Thomas Rabaix
http://rabaix.net

--
If you want to report a vulnerability issue on symfony, please send it
to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to