IIS will try to write the temporary file to the system root which mostly translates to c:\.
The file's owner will be either
IUSR_{servername}, IUSR or IUSER depending on what is defined as the Anonymous http user on the server.
By default, in W2k IIS 5.0 at least, the Everyone group, wherein the owner above is included, has all rights in systemroot and the new_tmpname function will work. Security conscientious admins might have revoked those rights and that will render new_tmpfile nonfunctional.
Any further knowledge on this, brothers ?
Another funny?? thing is that there seems to be a oneoff bug regarding the name of the tmp-file.
For example Posix::tmpnam says \s3vvs9m3.6 but the file \t3vvs9m.6 is written to the system root and another example is \sa4.9 becomes \ta4.9
So the answer to the original question is YES
In reply to Re: IO::File::new_tmpfile on IIS
by guha
in thread IO::File::new_tmpfile on IIS
by jmcnamara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |