note 69213 rejected from function.chmod by bjori
| From: | bjori@php.net | Date: | Sun, 27 Aug 2006 23:20:39 +0000 |
| Subject: | note 69213 rejected from function.chmod by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-116396@lists.php.net to get a copy of this message | ||
Note Submitter: antoni dot callau at blauconsultors dot com
----
When you try to use chmod in production server, the permissions of the file are changed to the user
that is running php on the apache server, usually "nobody" user and group. If you are
executing your aplication from another user,for example mydomainuser, then you will lost the
permissions about the file and could'nt be able to delete or edit the file.
If anyone can explain a solution...could be perfect.
Thanks!
ToNi