Question

Symbolic link not allowed or link target not accessible in laravel (Plesk in ubuntu 18)

Hi all,

I am tryign to host my app in ubuntu server with Plesk. I also have ran php artisan storage:link command for create Symbolic for my storage folder in laravel. But I cannot access my images that I have uploaded to my storage folder Symbolic to public/storage folder. Its says 403 error. Then I check my server error log. It has below warning.

Symbolic link not allowed or link target not accessible

Anyone can help me on this?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @KFSys

Here is the permission view Click Here

Hi @edexercom,

The Symbolic Link needs to be owned by the same user and group that’s owning the Website Folder otherwise you won’t be able to access it.

To give you the proper answer, I’ll recommend providing a little bit more information such as the permissions and ownerships of the folders that lead to the symbolic link. It’s 99% a permissions/ownership issue!

Regards, KFSys