Re: move_uploaded_file, umask, and permissions
| From: | David T-G | Date: | Mon, 01 Dec 2003 02:59:38 +0000 |
| Subject: | Re: move_uploaded_file, umask, and permissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-171426@lists.php.net to get a copy of this message | ||
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 often that a post falls completely on deaf ears here.
Maybe I'm the first person who's ever reported this problem. I'll be
famous! Men of all nations will bow down before me!!!
Nah; more likely that it just isn't that important. Does *nobody* else
have this problem, really?!?
TIA & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!