"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
Add -o uid=-1 -o gid=-1 for Windows/WinFsp
Nick Craig-Woodb4466bd9b1f5
diff --git a/cmd/cmount/mount.go b/cmd/cmount/mount.goindex 906724b75..61fc2dc02 100644--- a/cmd/cmount/mount.go+++ b/cmd/cmount/mount.go@@ -179,6 +179,13 @@ func mountOptions(device string, mountpoint string) (options []string) {options = append(options, "-o", "noapplexattr")}+ // Windows options+ if runtime.GOOS == "windows" {+ // These cause WinFsp to mean the current user+ options = append(options, "-o", "uid=-1")+ options = append(options, "-o", "gid=-1")+ }+if allowNonEmpty {options = append(options, "-o", "nonempty")}