Re: [PHP] unable to copy and chmod
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. [EMAIL PROTECTED] [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] unable to copy and chmod
Hi Edgard, I'm trying to copy a file and chmod it to make it writable, but after I copy it using PHP I can't even chmod in ftp ! since you upload it using PHP, most likely the owner of the file is nobody.nobody, that's why you can't chmod thru ftp. (unless you login to ftp as nobody ;)) I can't change the file owner too. only root can chown You need root access to fix your problem...or re-upload your file using ftp, not php. -- Jimmy A diplomat is man who always remembers a woman's birthday but never her age. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]