> On Thursday 28 November 2002 01:04, Adam Voigt wrote:
> > exec("/bin/chown newuser:newuser /path/to/file");
> The user running apache (in this case 'www') will most likely not have
> requisite permissions to perform that operation.
> > 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,
> > > it works fine EXCEPT that the uploaded file is owned by "www" and I
> > > I can read the file, I don't have the necessary permissions to delete
> > > when done ...
> Use chmod() to make the file(s) rw by 'others'.
In my experience, this won't work for the same reason. Trying to run the
chmod() function in PHP will give you an error about permission denied.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php