Possible Duplicate:
What are the best linux permissions to use for my website?
When I trying upload file with PHP to a folder that folder should have 777 permission, but this is a security risk, I want set 755 for folder permission but in this permission PHP cannot upload files.
What should I do ?
Server: Linux CentOS
Control Panel : Kloxo
Root Access : Yes
user:userso I should change it from SSH again, is there any way to solve this problem for ever ? – MajAfy Dec 06 '12 at 08:17setfacl -m u:<uid>:rwx, you might want to add the -d and -R options. For more information refer to https://linux.die.net/man/1/setfacl – inaki Jul 03 '18 at 14:37