Re: controlling ownership on file uploads ...
| From: | Adam Voigt | Date: | Wed, 27 Nov 2002 17:04:56 +0000 |
| Subject: | Re: controlling ownership on file uploads ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126309@lists.php.net to get a copy of this message | ||
exec("/bin/chown newuser:newuser /path/to/file");
On Wed, 2002-11-27 at 12:03, Kenn Murrah wrote:
> Greetings.
>
> I've written a simple form to allow my clients to upload files to me, and it
> works fine EXCEPT that the uploaded file is owned by "www" and I while I can
> read the file, I don't have the necessary permissions to delete it when done
> ...
>
> Since this site is being hosted elsewhere, is there a way I can control
> ownership so that I can delete the file? I've written my ISP/web hoster and
> received no response -- usually that's their subtle way of telling me I
> should ask the PHP quiestion here :-)
>
> Any and all help would be appreciated.
>
> Thanks,
>
> kenn
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc