Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

mount: remove nonseekable flag from write files - fixes #3461

Nick Craig-Wood341d8800279c
diff --git a/cmd/mount/file.go b/cmd/mount/file.go
index 843d5fff1..6a26af1fa 100644
--- a/cmd/mount/file.go
+++ b/cmd/mount/file.go
@@ -4,7 +4,6 @@ package mount
import (
"context"
- "io"
"time"
"bazil.org/fuse"
@@ -74,11 +73,6 @@ func (f *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenR
return nil, translateError(err)
}
- // See if seeking is supported and set FUSE hint accordingly
- if _, err = handle.Seek(0, io.SeekCurrent); err != nil {
- resp.Flags |= fuse.OpenNonSeekable
- }
-
return &FileHandle{handle}, nil
}