php - 766 versus 666 Permissions on an Upload Directory -


is 766 permissions okay directory website users can upload images to?

i using 766 because when set directory 666, script returns error , file not uploaded. please there explanation this?

thanks

yes, 755 way go because user need execute flag enter directory.

edit

same issue 766 if web user either group or others. 6 = read/write , lack execute flag.

so 766 wont work if web server not owner of directory.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -