permissions on upload folder not working

Posted by Camran on Server Fault See other posts from Server Fault or by Camran
Published on 2010-06-02T15:13:36Z Indexed on 2010/06/02 15:14 UTC
Read the original article Hit count: 146

Filed under:
|
|
|
|

I have a php script which uploads images to a folder.

I have these permissions on the upload folder:

  drwxrwxr--  4 user user   4096 2010-06-02 16:20 temp_images

Shouldn't these permissions be enough for files to be uploaded to the folder?

But this doesn't work.

It only works when I set the permissions to 777.

"user" is added to the www-data group, still no luck.

Any ideas why?

© Server Fault or respective owner

Related posts about linux

Related posts about apache