I was not able to upload files on my site (cent OS 6 VPS). The path where web files should be uploaded is
The permissions of directories were
755 and of files were
But when I chmoded all files and directories in
777 recursively then I was able to upload to
I am running WordPress. Isn't it a security issue to chmod all files and folders to
777? Also, if I chmod them back to
755, I cannot upload any files.