Date: 01/03/03
- Next message: tularis <email protected>: "[PHP-DOC] #21388 [Fbk]: [chm] bug on streams.php-stream-open-wrapper-ex.html"
- Previous message: tularis <email protected>: "[PHP-DOC] #21388 [Opn->Fbk]: [chm] bug on streams.php-stream-open-wrapper-ex.html"
- In reply to: Gabor Hojtsy: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Next in thread: Gabor Hojtsy: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Reply: Gabor Hojtsy: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Reply: nicos <email protected>: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gabor Hojtsy <gabor <email protected>> wrote:
>> 0777 is fine for WIN32.
>
> Well, this is not too scientific. The user notes indicate on that
> page, that the read/write permissions can actually be set...
Which user note is that? I can't find one saying that the permissions
work on Win32. And in virtual_mkdir() in tsrm_virtual_cwd.c I see:
#ifdef TSRM_WIN32
retval = mkdir(new_state.cwd);
#else
retval = mkdir(new_state.cwd, mode);
#endif
So perhaps the manual should state that the second parameter of PHP's
mkdir is ignored on Win32?
To open another can of worms: the chmod manual page is also not very
specific about the modes - and as I understand, you can have at least
read-only files on Windows.
Regards...
Michael
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: tularis <email protected>: "[PHP-DOC] #21388 [Fbk]: [chm] bug on streams.php-stream-open-wrapper-ex.html"
- Previous message: tularis <email protected>: "[PHP-DOC] #21388 [Opn->Fbk]: [chm] bug on streams.php-stream-open-wrapper-ex.html"
- In reply to: Gabor Hojtsy: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Next in thread: Gabor Hojtsy: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Reply: Gabor Hojtsy: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Reply: nicos <email protected>: "Re: [PHP-DOC] Re: #18293 - mkdir()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

