We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving the following error when trying to create a directory in S3 bucket with ACLs disabled - AWS Recommended.
AccessControlListNotSupported - The bucket does not allow ACLs
Lines 250-251 of AwsS3V3Adapter.php seem to be the cause.
$defaultVisibility = $config->get(Config::OPTION_DIRECTORY_VISIBILITY, $this->visibility->defaultForDirectories()); $config = $config->withDefaults([Config::OPTION_VISIBILITY => $defaultVisibility]);
Removing them allows the directory to be created
Create a bucket in S3 with ACLs disabled and try to create a directory using the Adapter.
The text was updated successfully, but these errors were encountered:
Found after creating this bug that it can be resolved by adding
'options' => [ 'ACL' => '' ]
Sorry, something went wrong.
No branches or pull requests
Bug Report
Summary
Receiving the following error when trying to create a directory in S3 bucket with ACLs disabled - AWS Recommended.
AccessControlListNotSupported - The bucket does not allow ACLs
Lines 250-251 of AwsS3V3Adapter.php seem to be the cause.
$defaultVisibility = $config->get(Config::OPTION_DIRECTORY_VISIBILITY, $this->visibility->defaultForDirectories()); $config = $config->withDefaults([Config::OPTION_VISIBILITY => $defaultVisibility]);
Removing them allows the directory to be created
How to reproduce
Create a bucket in S3 with ACLs disabled and try to create a directory using the Adapter.
The text was updated successfully, but these errors were encountered: