On Thu, Apr 19, 2012 at 9:03 AM, ma...@behnke.biz <ma...@behnke.biz> wrote:
>
>
> tamouse mailing lists <tamouse.li...@gmail.com> hat am 19. April 2012 um
> 07:10 geschrieben:
>
>> On Mon, Apr 16, 2012 at 3:09 AM, ma...@behnke.biz <ma...@behnke.biz>
> wrote:
>> >> mkdir($d,777,true);                /* make the directory */
>> > Try using "mkdir($d, 0777, true);"
>>
>> Herein, my friends, lies the problem. Silly me, using a DECIMAL number
>> (777) instead of an OCTAL number (0777).
>
> :-) well ... you could have written 511 which is 0777 in octal :D
> The other way around 777 decimal is 1411 octal. No idea what kinda chmod
> mode that is ;-)

That's 0411 with the sticky bit set. When the sticky bit is set on a
directory, files in that directory may only be unlinked or renamed by
root or their owner.

- Matijn

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to