laravel allow client to read file in linux code example
Example 1: laravel file permissions
sudo chgrp -R www-data storage bootstrap/cache
sudo chmod -R ug+rwx storage bootstrap/cache
Example 2: laravel filesystem
$exists = Storage::disk('s3')->exists('file.jpg');