Because the web server is what runs php as a module, and the web server has its own user for security reasons. You could try chmod but that is generally a last resort. Thanks, Ash http://www.ashleysheridan.co.uk ----- Reply message ----- From: "Moses" <jamuah@xxxxxxxxx> Date: Tue, Jan 18, 2011 10:17 Subject: [PHP] [PHP]: permission problem www-data To: "ash@xxxxxxxxxxxxxxxxxxxx" <ash@xxxxxxxxxxxxxxxxxxxx> Cc: <php-general@xxxxxxxxxxxxx>