Re: file permissions
| From: | Jon Farmer | Date: | Thu, 14 Dec 2000 11:20:51 +0000 |
| Subject: | Re: file permissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30284@lists.php.net to get a copy of this message | ||
Hi Tim
Use
chown(filename, user)
where user is the userid you want
Regards
--
Jon Farmer
www.workcam.co.uk
+44 (0)7968 524175
----- Original Message -----
From: "Tim Haynes" <tim@entamedia.com>
To: <php-general@lists.php.net>
Sent: Thursday, December 14, 2000 11:15 AM
Subject: [PHP] file permissions
> Hi,
>
> I am using php to copy files from one location to another within a website
> using the copy command, my problem is with the persmissions that these
file
> are given once they are copied they are given a UID as 'nobody', i have
> tried setting the directory permissions to 777 but no effect. When I come
> to ftp into the website I cannot remove or overwrite these files, but I
can
> through PHP.
>
> Any help on this problem would be greatly appreciated.
>
> Cheers,
>
> Tim
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>