Thursday, March 10, 2022

[FIXED] MAMP: permission denied on some computers but not all

Issue

A friend and I are using MAMP to develop a site. On my computer I can access CSS files in any folder under our /application root directory. On his computer, many of them have permission forbidden.

We did CHMOD 755 and checked that his htaccess wouldn't be restricting anything. What else could cause this difference in permissions?

Error:

GET http://mysite.loc/application/javascripts/bootstrap/bootstrap-typeahead.js 403 (Forbidden) wefinance/:26

Solution

ensure the higher level permissions are properly set as well (higher level is enforced first). Also did you sudo when setting the permissions?

Ensure permissions are set properly for the www group.

Make sure your apache is configured to allow the connection, as well.



Answered By - tdc

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.