"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
azurefiles: fix missing x-ms-file-request-intent header with OAuth - fixes #9367
Nick Craig-Wood90028ab3daae
diff --git a/backend/azurefiles/azurefiles.go b/backend/azurefiles/azurefiles.goindex 271e27ca4..ba49e7850 100644--- a/backend/azurefiles/azurefiles.go+++ b/backend/azurefiles/azurefiles.go@@ -173,6 +173,10 @@ func newFsFromOptions(ctx context.Context, name, root string, opt *Options) (fs.NewSharedKeyCredential: service.NewSharedKeyCredential,SetClientOptions: func(options *service.ClientOptions, policyClientOptions policy.ClientOptions) {options.ClientOptions = policyClientOptions+ // FileRequestIntent is required for TokenCredential (OAuth)+ // auth; the SDK omits it for shared-key / SAS.+ backup := service.ShareTokenIntentBackup+ options.FileRequestIntent = &backup},}res, err := auth.NewClient(ctx, conf, &opt.Options)