DEV Community

Discussion on: Linking public_html to laravel public directory in shared hosting

Collapse
 
hazzazbinfaiz profile image
Md. Hazzaz Bin Faiz

I think directory permission is not correct.

Check directory permission.

Collapse
 
ghawsi profile image
Obaidullah Ghawsi

Which directory do I need to check for permission.
I have tried 775, 777, for public html, and all the symlinks.
I am not sure which one to set to which one.
If you can help me with that I would be thankful.
Thanks in advance

Thread Thread
 
hazzazbinfaiz profile image
Md. Hazzaz Bin Faiz

Check for permission as well as owner. Of current user is not an owner, it can cause forbidden issue.

Thread Thread
 
ghawsi profile image
Obaidullah Ghawsi

Current user is the owner. I have full access to the cpanel hosting.

Thread Thread
 
hazzazbinfaiz profile image
Md. Hazzaz Bin Faiz

You can check server log for the exact error log