Re: unable to copy and chmod
| From: | Edgard Berendsen | Date: | Tue, 15 Jan 2002 13:15:13 +0000 |
| Subject: | Re: unable to copy and chmod | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80557@lists.php.net to get a copy of this message | ||
The probem is that when I copy the file, the owner is set to
something that PHP lately can't change !
This happened to me in 2 tottaly different servers.
I want to copy a file (as a template) and make it writable using PHP.
"Bvr@Xs4all.Nl" <bvr@xs4all.nl> wrote in message
news:200201150910.g0F9AvFF046056@smtpzilla2.xs4all.nl...
>
> Any file copied with PHP will stay writable from PHP, as the owner is set
to whatever PHP is running under.
>
> Explain how the file got there and how you'd like to change it (through
PHP, FTP etc.)
>
> bvr.
>
>