Replies: 1 comment
-
Did u add the 'visibility' => 'public' to media in filesystems.php in the config like below?
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When upload file image by api /upload of laravel-medialibrary and I want save file by function addMedia($pathToFile)->toMediaCollection('images');
But i can not addMedia because error
fopen(/var/www/upload.com/public/media/12/OKESTEw14xzwK7H5p86KXoIzC8QK9FmMEdOPccrH.jpeg): failed to open stream: Permission denied
I check in server centos when use api /upload file set permission

How to config permission file upload ?
Please help me! Thank iu
Beta Was this translation helpful? Give feedback.
All reactions