We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2d408b commit 54c05bcCopy full SHA for 54c05bc
1 file changed
apps/files_external/lib/Lib/Storage/AmazonS3.php
@@ -744,7 +744,7 @@ protected function getVersioningStatusFromBucket(): bool {
744
return $result->get('Status') === 'Enabled';
745
} catch (S3Exception $s3Exception) {
746
// This is needed for compatibility with Storj gateway which does not support versioning yet
747
- if ($s3Exception->getAwsErrorCode() === 'NotImplemented') {
+ if ($s3Exception->getAwsErrorCode() === 'NotImplemented' || $s3Exception->getAwsErrorCode() === 'AccessDenied') {
748
return false;
749
}
750
throw $s3Exception;
0 commit comments