On 9/20/10 11:42 AM, Thomas Rabaix wrote:
This weekend I have been working on a patch to make the mode value of
mkdir and created file an option. The original patch uses the
kernel.config directive however this is now deprecated so I need to fix
that.

But now I don't know where to put this value. The only option will be to
use the web.config directive, which look odd to me.

Yeah, we should probably rename web.config to something else (framework.config, ...). Any other idea?

Fabien

Any idea ?

On Mon, Sep 20, 2010 at 11:36 AM, Thomas Rabaix <[email protected]
<mailto:[email protected]>> wrote:

    hum ... ok maybe this should be added as an option. Not a lot of
    people are aware of this...


    On Mon, Sep 20, 2010 at 11:04 AM, Fabien Potencier
    <[email protected]
    <mailto:[email protected]>> wrote:

        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 <http://sensiolabs.com> | symfony-project.org
        <http://symfony-project.org> | fabien.potencier.org
        <http://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>
            <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 <http://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]
            <mailto:[email protected]>
            To unsubscribe from this group, send email to
            [email protected]
            <mailto:symfony-devs%[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
        <http://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] <mailto:[email protected]>
        To unsubscribe from this group, send email to
        [email protected]
        <mailto:symfony-devs%[email protected]>
        For more options, visit this group at
        http://groups.google.com/group/symfony-devs?hl=en




    --
    Thomas Rabaix
    http://rabaix.net




--
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