Re: www-data file

From: Date: Tue, 26 Aug 2014 13:21:57 +0000
Subject: Re: www-data file
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-48903@lists.php.net to get a copy of this message
On 8/26/2014 12:20 AM, Ethan Rosenberg wrote:
Dear list - When I use fopen, the file owner and group are both www-data. How can I ensure that the owner and group will be ethan? TIA Ethan Why should ownership be a concern when you are simply opening a file? AFAIK permissions are set at the time the file is placed there and will affect the access to them from then on. If you are able to fopen the file, why do the permissions matter? If you can't then you have an entirely different problem to discuss.


« previous php.db (#48903) next »