I am using Storage::disk() to store file or retrieve file in laravel and there is some issue during setup of aws server.
Storage::disk('backup_uploads')->put('/try/'.'abcc.txt', 'abcc');
Whenever the directories created the file is not allowed to be deleted.
The permission auto set to
Permission for 'try' folder : drwxr-xr-x
My user and group should be
ec2-user/ec2user
but the 'try' folder directories show
apache/apache
How i can create the directories using the method above and always make it full accessible. Let the permission to be drwxrwxrwx.
Thanks.