Re: [PHP] move_uploaded_file, umask, and permissions

2003-12-01 Thread David T-G
Curt, et al -- ...and then Curt Zirzow said... % % Message-ID: [EMAIL PROTECTED] Mister Underhill, I presume? :-) I only just noticed this :-) % % * Thus wrote David T-G ([EMAIL PROTECTED]): % % I have set my umask to 117 (and I change it when making a directory) and % I use

Re: [PHP] move_uploaded_file, umask, and permissions

2003-11-30 Thread David T-G
Hi, all -- ...and then David T-G said... % ... % I have set my umask to 117 (and I change it when making a directory) and % I use move_uploaded_file to handle submitted files. ... % Must I really run chmod() on every move_uploaded_file() I process? Isn't % there a better way? Wow, it's not

Re: [PHP] move_uploaded_file, umask, and permissions

2003-11-30 Thread Curt Zirzow
* Thus wrote David T-G ([EMAIL PROTECTED]): Hi, all -- I have set my umask to 117 (and I change it when making a directory) and I use move_uploaded_file to handle submitted files. The temporary file is mode 600 when it lands in /var/tmp but somehow gets changed to 666 during the move. It