When I am trying to do rclone copy, somehow files are getting copied properly with correct folder structure but I am getting "createBucket" event triggered from AWS s3 saying someone is trying to create a bucket. Now I am not sure if I am not giving proper permission to the bucket or is there something else that I am missing here.
I have given following permission to the bucket that I am uploading:
"s3:PutObject",
"s3:GetObject"
"s3:ListObjects*"
P.S would it help if I give "s3:PutObjectAcl" permission to s3 bucket?
I can't use --s3-no-check-bucket because I want to create daily folder and then upload the file. If I pass this flag, it is not creating the daily folder.
based on the your policy snippet, should be able to create a subfolder.
maybe there is an issue with some other part of the full policy?
rclone copy file.ext remote:zorktest/20220921 -vv --s3-no-check-bucket
DEBUG : rclone: Version "v1.58.1" starting with parameters ["C:\\data\\rclone\\rclone.exe" "copy" "file.ext" "remote:zorktest/20220921" "-vv" "--s3-no-check-bucket"]
DEBUG : Creating backend with remote "remote:zorktest/20220921"
DEBUG : remote: detected overridden config - adding "{Dn7qA}" suffix to name
DEBUG : fs cache: renaming cache item "remote:zorktest/20220921" to be canonical "remote{Dn7qA}:zorktest/20220921"
DEBUG : file.ext: Need to transfer - File not found at Destination
DEBUG : file.ext: md5 = c7f5af9b93f5aa17934c84ad53fd2cea OK
INFO : file.ext: Copied (new)
rclone tree remote:zorktest
/
└── 20220921
└── file.ext
Nope - As that version is years old so trying to troubleshoot that is not a great use as if we find something, most likely it was fixed in a later version.
The install is a single binary to download or use the install script and is done in a few seconds.
Other team members also uses same version and it will take some time to get verified by everyone.
Any other solution that I can try. Maybe changing some permission of s3 bucket? In one of the bucket I have given s3:PutObjectAcl permission and it is working as expected and not throwing any 'createBucket' warning.