Re: [PHP-DB] www-data file

2014-08-26 Thread Jasper Kips
What are you trying to achieve? Or to put it more clearly, why do you need the filw owner to be ethan? Jasper Verstuurd vanaf mijn iPad Op 26 aug. 2014 om 06:20 heeft Ethan Rosenberg erosenb...@hygeiabiomedical.com het volgende geschreven: Dear list - When I use fopen, the file

Re: [PHP-DB] www-data file

2014-08-25 Thread Aziz Saleh
On Tue, Aug 26, 2014 at 12:20 AM, Ethan Rosenberg erosenb...@hygeiabiomedical.com 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 -- PHP Database Mailing List (http://www.php.net/)

Re: [PHP-DB] www-data file

2014-08-25 Thread Karl DeSaulniers
On Aug 25, 2014, at 11:20 PM, Ethan Rosenberg erosenb...@hygeiabiomedical.com 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 Are we talking about file permissions? Best, Karl

Re: [PHP-DB] www-data file

2014-08-25 Thread Matt Pelmear
Another, safer, thing to consider would be setting a sticky bit on whatever directory the files will be in: http://computernetworkingnotes.com/managing-file-system-security/sticky-bit.html I've used sticky bits in a number of situations with multiple groups and users co-habiting environments