I want to setup a test data through Faker using a factory. but when I try to add images to the model
"images" => $faker->image('public/storage/images',400,300, null, false),
it returns an error
Cannot write to directory "public/storage/images"
even thought I ran
php artisan storage:link
How to solve this problem? I am using Ubuntu btw.