"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
mount,mount2,cmount: fix --allow-non-empty #3562
Nick Craig-Wooda6f6a9dcdf28
diff --git a/cmd/cmount/mount.go b/cmd/cmount/mount.goindex c9893f2f7..919f5d895 100644--- a/cmd/cmount/mount.go+++ b/cmd/cmount/mount.go@@ -84,9 +84,6 @@ func mountOptions(VFS *vfs.VFS, device string, mountpoint string, opt *mountlib.if opt.DaemonTimeout != 0 {options = append(options, "-o", fmt.Sprintf("daemon_timeout=%d", int(opt.DaemonTimeout.Seconds())))}- if opt.AllowNonEmpty {- options = append(options, "-o", "nonempty")- }if opt.AllowOther {options = append(options, "-o", "allow_other")}diff --git a/cmd/mount/mount.go b/cmd/mount/mount.goindex 765419df4..923681c7c 100644--- a/cmd/mount/mount.go+++ b/cmd/mount/mount.go@@ -34,9 +34,6 @@ func mountOptions(VFS *vfs.VFS, device string, opt *mountlib.Options) (options [if opt.AsyncRead {options = append(options, fuse.AsyncRead())}- if opt.AllowNonEmpty {- options = append(options, fuse.AllowNonEmptyMount())- }if opt.AllowOther {options = append(options, fuse.AllowOther())}diff --git a/cmd/mount2/mount.go b/cmd/mount2/mount.goindex cbb890500..48e2f820e 100644--- a/cmd/mount2/mount.go+++ b/cmd/mount2/mount.go@@ -95,9 +95,6 @@ func mountOptions(fsys *FS, f fs.Fs, opt *mountlib.Options) (mountOpts *fuse.Mou}var opts []string// FIXME doesn't work opts = append(opts, fmt.Sprintf("max_readahead=%d", maxReadAhead))- if fsys.opt.AllowNonEmpty {- opts = append(opts, "nonempty")- }if fsys.opt.AllowOther {opts = append(opts, "allow_other")}