You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create 2 local files, one with a space in the name:
touch 'has space'
touch nospace
Copy these files to bucket aaa:
vgaws s3 cp nospace s3://aaa;vgaws s3 cp has\ space s3://aaa
upload: ./nospace to s3://aaa/nospace
upload: ./has space to s3://aaa/has space
Files can be copied back to local:
vgaws s3 cp 's3://aaa/has space' .
download: s3://aaa/has space to ./has space
vgaws s3 cp 's3://aaa/nospace' .
download: s3://aaa/nospace to ./nospace
BUT if trying to copy to bucket bbb:
vgaws s3 cp 's3://aaa/nospace' s3://bbb
copy: s3://aaa/nospace to s3://bbb/nospace
vgaws s3 cp 's3://aaa/has space' s3://bbb
copy failed: s3://aaa/has space to s3://bbb/has space An error occurred (NoSuchKey) when calling the CopyObject operation: The specified key does not exist.
Expected behavior
Files with spaces in name should copy between buckets
Server Version
./versitygw --version
Version :
Build : release-rpm
BuildTime: 2024-08-14_09:28:07AM
uname -a
Linux ip-10-100-0-246 4.18.0-513.18.1.el8_9.x86_64 #1 SMP Thu Feb 1 03:51:05 EST 2024 x86_64 x86_64 x86_64 GNU/Linux
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to copy a file with a space in the name reports NoSuchKey
To Reproduce
Create 2 buckets:
vgaws s3 mb s3://aaa
vgaws s3 mb s3://bbb
Create 2 local files, one with a space in the name:
touch 'has space'
touch nospace
Copy these files to bucket aaa:
vgaws s3 cp nospace s3://aaa;vgaws s3 cp has\ space s3://aaa
upload: ./nospace to s3://aaa/nospace
upload: ./has space to s3://aaa/has space
Files can be copied back to local:
vgaws s3 cp 's3://aaa/has space' .
download: s3://aaa/has space to ./has space
vgaws s3 cp 's3://aaa/nospace' .
download: s3://aaa/nospace to ./nospace
BUT if trying to copy to bucket bbb:
vgaws s3 cp 's3://aaa/nospace' s3://bbb
copy: s3://aaa/nospace to s3://bbb/nospace
vgaws s3 cp 's3://aaa/has space' s3://bbb
copy failed: s3://aaa/has space to s3://bbb/has space An error occurred (NoSuchKey) when calling the CopyObject operation: The specified key does not exist.
Expected behavior
Files with spaces in name should copy between buckets
Server Version
./versitygw --version
Version :
Build : release-rpm
BuildTime: 2024-08-14_09:28:07AM
uname -a
Linux ip-10-100-0-246 4.18.0-513.18.1.el8_9.x86_64 #1 SMP Thu Feb 1 03:51:05 EST 2024 x86_64 x86_64 x86_64 GNU/Linux
Additional context
The text was updated successfully, but these errors were encountered: