In Centos server some users have limited access.If the want to access the folder it is showing access denied.Here is the process the give the write permission to the user in Centos server.
1.Log In to the server.
2.Go to the path (or) types the following command…..
chown username.username path(ex: /var/www/domainname.com/) -R
3.It will take 2-3 min.
4.Now you can write the files in the specified folder..