Moses wrote:
Hi Everyone,

I am creating a file in PHP script which takes a value from a form and
writes it
to a file. However, i don't have the mode permission for the file instead it
is owned
by www-data.What can i do to ensure that the file is owned by me.

drwxr-xr-x 2 www-data www-data 4096 2011-01-17 22:01 18757170111.0
-rw-r--r-- 1 www-data www-data   40 2011-01-17 23:39 32238.hydro


Hi Moses, I think the answer to your question lies in more info from you. I assume that you want your user account to have permission? Why?
What are you doing with the file?


D Brooke

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to