Why does PHP set the execute bit on an uploaded file?  This means a user
could upload a script and it would be executable.  Ouch!  Especially if
the file is available via httpd after upload. . . HELP.

I am saving to a directory with permissions of 766

And when php copies the file it assigns the following permissions.  

        rwxr-xr-x  

I am using the copy command to move the file from the tmp directory.

David McInnis




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

Reply via email to