From:             joe at mcknight dot de
Operating system: Linux 2.4.25
PHP version:      4.3.4
PHP Bug Type:     Feature/Change Request
Bug description:  upload_permissions would be a cool option

Description:
------------
Hi,



I'd really like to see an option upload_permissions because in my
webserver configuration I need group/world read permission for the file
(the owner of the file is the user, the group is the customer and the
httpd user is among others).



strace shows that the file is always created with 0600 permission in the
tmp-path, then moved and after that I'd like to change permissions to
644...



Sure, people could do a chmod() in their php source but if someone wants
to migrate to my server and he has to change 300 php files, he'll
complain...



Thx,

Joachim


-- 
Edit bug report at http://bugs.php.net/?id=27489&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27489&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27489&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27489&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27489&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27489&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27489&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27489&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27489&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27489&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27489&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27489&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27489&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27489&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27489&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27489&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27489&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27489&r=float

Reply via email to