Re: controlling ownership on file uploads ...
| From: | Peter Janett | Date: | Wed, 27 Nov 2002 18:02:31 +0000 |
| Subject: | Re: controlling ownership on file uploads ... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126318@lists.php.net to get a copy of this message | ||
Since the user Apache is running as created the file, it owns it too.
Make a quick PHP script to delete the files when ready.
HTH,
Peter Janett
New Media One Web Services
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New Upgrades Are Now Live!!!
Windows 2000 accounts - Cold Fusion 5.0 and Imail 7.1
Sun Solaris (UNIX) accounts - PHP 4.1.2, mod_perl/1.25,
Stronghold/3.0 (Apache/1.3.22), MySQL 3.23.43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PostgreSQL coming soon!
http://www.newmediaone.net
webmaster@newmediaone.net
(303)828-9882
----- Original Message -----
From: "Kenn Murrah" <kennmurrah@nomoire.com>
To: "php list" <php-general@lists.php.net>
Sent: Wednesday, November 27, 2002 10:03 AM
Subject: [PHP] controlling ownership on file uploads ...
> 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
>