-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
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
mirror always fails with "ListBucketPolicies
is not supported for filesystem
"
#3015
Comments
It doesn't fail it is just a warning and it continues @coffee-squirrel |
@harshavardhana Sorry, you're completely right. The content I was looking at was already in sync, so I misunderstood what was happening. It is a bit odd to see an error, though. I'll go ahead and close this out. |
Warning to be removed in PR #3018 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected behavior
mc mirror
does not attempt to copy bucket policies unless--preserve
or-a
is specified, allowing the command to complete successfully when MinIO Server is of thefilesystem
type.Actual behavior
The
mc mirror
command (e.g.mc mirror --overwrite --remove files/ "blobstore/my-bucket/some/path/"
) fails with an error like:It looks like #2965 (specifically: https:/minio/mc/pull/2965/files#diff-037c805435914444292ac1b753a92529R743) changed the behavior of
mc mirror
, making it so that copying bucket policies is always attempted rather than being conditional upon--preserve
/-a
. Thefilesystem
client doesn't supportGetAccessRules
, however.Steps to reproduce the behavior
filesystem
MinIO Server instancemc mirror
some content to the MinIO Server instancemc version
System information
The text was updated successfully, but these errors were encountered: