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.


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!

----- Original Message -----
From: "Kenn Murrah" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
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
> works fine EXCEPT that the uploaded file is owned by "www" and I while I
> read the file, I don't have the necessary permissions to delete it when
> ...
> 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
> 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 (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to