RE: [PHP] create a chmod'd file
| From: | Matt Palermo | Date: | Fri, 13 Jun 2003 20:32:30 +0000 |
| Subject: | RE: [PHP] create a chmod'd file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151421@lists.php.net to get a copy of this message | ||
How do I get the script to "own" the file? Are there special commands
needed for this?
Matt
-----Original Message-----
From: Jay Blanchard [mailto:jay.blanchard@niicommunications.com]
Sent: Friday, June 13, 2003 3:08 PM
To: Matt Palermo; php-general@lists.php.net
Subject: RE: [PHP] create a chmod'd file
[snip]
It just doesn't chmod the file. It doesn't produce errors except for
later on in the script when it says it can't access the file with write
permissions (but it should already be chmod'd by then). Thanks.
[/snip]
What are the permissions of the script producing the file? Does it have
the proper permission and does it 'own' the file? Most web
interfaces/scripts operate as 'nobody' and therefore do not have
permission to set file permissions...if you'll permit me to say so.
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php