note 69213 added to function.chmod

From: Date: Sun, 27 Aug 2006 15:25:54 +0000
Subject: note 69213 added to function.chmod
Groups: php.notes 
Request: Send a blank email to php-notes+get-116386@lists.php.net to get a copy of this message
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 ---- Server IP: 130.206.1.5 Probable Submitter: 88.1.77.139 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.chmod.php Edit -- https://master.php.net/note/edit/69213 Del: integrated -- https://master.php.net/note/delete/69213/integrated Del: useless -- https://master.php.net/note/delete/69213/useless Del: bad code -- https://master.php.net/note/delete/69213/bad+code Del: spam -- https://master.php.net/note/delete/69213/spam Del: non-english -- https://master.php.net/note/delete/69213/non-english Del: in docs -- https://master.php.net/note/delete/69213/in+docs Del: other reasons-- https://master.php.net/note/delete/69213 Reject -- https://master.php.net/note/reject/69213 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116386) next »