Hello. I am having a problem for the second time. It seems to be related to permissions, but I cannot find the problem.
I am new to linux. I have developed a system to develop locally, then upload to a live site. After my last upload, I added some modules that really caused problems in Drupal. Removing the modules did not fix the issue so I decided to restore the site back to my last backup. I used the same process I use to upload the site:
empty cache
export db
copy all site files
delete/recreate db
import db
This all happens without error. Then when I visit the site, I get the 403 Forbidden error. You don't have permission to access / on this server.
The permissons set for the site root folder (and subsequent folders) for www-data group is Create and delete files. settings.php is set read only.
I really don't understand why copying a site to my local server is any different than copying the site to a live web server. I assume the problem is a setting on my local setup.
Has anyone else had this issue? I cannot find any posts with related issues. Or is this problem so easily fixed for a non-newbie that nobody bothers to post it?
Comments
Comment #1
asutton commentedIt turns out it was a permissions thing. I used the chmod 775 -R command on the site root folder...and problem solved. I am curious how setting permissions this way is different than using the file-options and setting permissions for the group and including sub-folders and files. That is a question for another day. Happy to be working again.
Comment #2
asutton commented