Rclone command equivalent to s3api put-bucket-policy

What is the problem you are having with rclone?

Cannot find command to apply a policy to S3 bucket

Run the command 'rclone version' and share the full output of the command.

rclone v1.63.1

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.10.16.3-microsoft-standard-WSL2 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.20.6
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

Custom Ceph

The command you were trying to run (eg rclone copy /tmp remote:tmp)

?

The rclone config contents with secrets removed.


A log from the command with the -vv flag


rclone cannot do that. you need to do that via ceph itself

this is what i do:

aws s3api put-bucket-policy --bucket bucketname --endpoint-url=https://s3.us-east-2.wasabisys.com  --policy file://path/to/policy.json
rclone ....

After searching the docs for so long I was afraid of that. Thanks for letting me know. Any plans to add as this in the future so there isn't a need for two clients?

not that i know of, and i hope that never happens.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.