Req #27489 [Opn->Wfx]: upload_permissions would be a cool option

From: Date: Thu, 08 Jan 2015 22:51:00 +0000
Subject: Req #27489 [Opn->Wfx]: upload_permissions would be a cool option
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189766@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=27489&edit=1 ID: 27489 Updated by: ajf@php.net Reported by: joe at mcknight dot de Summary: upload_permissions would be a cool option -Status: Open +Status: Wont fix Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: Linux 2.4.25 PHP Version: 4.3.4 Block user comment: N Private report: N New Comment: I don't see what's wrong with just using chmod(). Previous Comments: ------------------------------------------------------------------------ [2004-03-04 04:06:16] joe at mcknight dot de 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 this bug report at https://bugs.php.net/bug.php?id=27489&edit=1

« previous php.bugs (#189766) next »