diff --git a/backend/s3/s3.go b/backend/s3/s3.go index 246077e3b..449aced2f 100644 --- a/backend/s3/s3.go +++ b/backend/s3/s3.go @@ -1691,6 +1691,10 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, e if opt.Provider == "Rabata" { f.features.Copy = nil } + if opt.Provider == "TencentCOS" && strings.Contains(opt.Endpoint, "cos.accelerate.myqcloud.com") { + // Global Acceleration endpoint does not support bucket creation. + f.opt.NoCheckBucket = true + } if opt.DirectoryMarkers { f.features.CanHaveEmptyDirectories = true } diff --git a/docs/content/s3.md b/docs/content/s3.md index e73eb67b0..3a3fed1de 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -9005,6 +9005,15 @@ To configure access to Tencent COS, follow the steps below: cos s3 ``` +#### Tencent COS Global Acceleration Endpoint + +When using the Global Acceleration Endpoint (`cos.accelerate.myqcloud.com`), +rclone automatically sets `no_check_bucket = true` because this acceleration +endpoint does not support the `CreateBucket` call which is used for ensuring +a bucket's existence by rclone. Global Acceleration is a per-bucket feature, +so you should first create the bucket in one physical region, then enable it +in the Tencent Cloud console. + ### Wasabi [Wasabi](https://wasabi.com) is a cloud-based object storage service for a