[PHP-DB] Re: www-data file

2014-08-26 Thread Jim Giner
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

Re: [PHP-DB] Re: www-data file

2014-08-26 Thread Matt Pelmear
On 08/26/2014 06:21 AM, Jim Giner wrote: 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

Re: [PHP-DB] Re: www-data file

2014-08-26 Thread Jim Giner
On 8/26/2014 11:26 AM, Matt Pelmear wrote: fopen() can create files if they don't exist. I should have read the manual b4 replying. :( -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php