Failed to copy~/Downloads/test-all-file-types/Sizes/10G.img. Your proposed upload size ‘10737418240’ exceeds the maximum allowed object size ‘5368709120’ for single PUT operation
Create a bucket vcache
Create a user with credentials like: test-userminio123
Assign the policy to the test-user
add an alias with test-user credentials.
now try to copy a large file
fallocate -l 10G 10G.img
➜ mc cp 10G.img tu/vcache
mc: <ERROR> Failed to copy `~/Downloads/test-all-file-types/Sizes/10G.img`. Your proposed upload size ‘10737418240’ exceeds the maximum allowed object size ‘5368709120’ for single PUT operation.
➜ mc --version
mc version RELEASE.2024-10-08T09-37-26Z (commit-id=cf128de2cf42e763e7bd30c6df8b749fa94e0c10)
Runtime: go1.22.8 linux/amd64
Copyright (c) 2015-2024 MinIO, Inc.
License GNU AGPLv3 <https://www.gnu.org/licenses/agpl-3.0.html>
➜ minio --version
minio version DEVELOPMENT.2024-10-14T16-35-37Z (commit-id=3da7c9cce3dea46c50b53bc9a5a93ede46741d92)
Runtime: go1.23.2 linux/amd64
License: GNU AGPLv3 - https://www.gnu.org/licenses/agpl-3.0.html
Copyright: 2015-2024 MinIO, Inc.
Expected behavior
Expected
Access Denied
Actual behavior
Failed to copy
~/Downloads/test-all-file-types/Sizes/10G.img. Your proposed upload size ‘10737418240’ exceeds the maximum allowed object size ‘5368709120’ for single PUT operation
Steps to reproduce the behavior
As an Admin: Create a policy
test-policy
Create a bucket
vcache
Create a user with credentials like:test-user
minio123
Assign the policy to thetest-user
add an alias with
test-user
credentials. now try to copy a large fileDebug info
mc --version
The policy with which it works as expected:
System information