Adobe Contribute CS3 gives ‘Access Denied’ on root directory
December 11th, 2007 by Anthony Curreri
Wow this had a simple answer. I feel silly. It all started when I made a custom 404 page, editing the .htaccess file and the Apache configuration. I went into Contribute to make sure I could still edit files and found:
Access Denied. The file may exist, or there could be a permission problem.
When using Contribute to edit the root page of my site. Pages in other directories were fine. The pages in the other directories had the same file permissions!
I thought it was possibly some server update I applied awhile ago that broke, or an Adobe Contribute misconfiguration. I removed my connection to the site.
When I added the connection back in, I got the browse folder dialog ok, and after I choose my sites root folder I got:
Contribute cannot verify your connection information.
/var/www/html
Please contact your administrator for assistance.
Rude! Well after some investigation I found that Contribute CS3 writes tmp files to the root directory. So I thought maybe Mod_Security was preventing writing or reading tmp files.
NOPE. The permissions for the root dir itself had been changed. Possibly during an update, or when I ran this command:
sudo /sbin/restorecon -R -v /var/www/html
At any rate, here is my solution:
sudo chown staff:webauthors /var/www/html
Note: staff should be the name of the sftp user you have in contribute, and webauthors should be their group. Make sure the owner has write permission of course.
If you found this helpful, help me by checking out the ads at the bottom of the page. Thank you!
Bookmark with: | del.icio.us | Digg it | Netscape | Newsvine | Yahoo MyWeb |
Leave a Reply
You must be logged in to post a comment.
