fs/cmd/torrentfs/main.go | 2 +- diff --git a/fs/cmd/torrentfs/main.go b/fs/cmd/torrentfs/main.go index 3ebdc281d6cb41bd8296c309665298f24a68ea25..d35f5c2360bfb267df13fceea025ab9fbba8800f 100644 --- a/fs/cmd/torrentfs/main.go +++ b/fs/cmd/torrentfs/main.go @@ -84,7 +84,7 @@ if args.MountDir == "" { os.Stderr.WriteString("y u no specify mountpoint?\n") os.Exit(2) } - conn, err := fuse.Mount(args.MountDir) + conn, err := fuse.Mount(args.MountDir, fuse.ReadOnly()) if err != nil { return fmt.Errorf("mounting: %w", err) }