diff options
| author | Chris Lu <chris.lu@uber.com> | 2021-04-04 21:40:58 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@uber.com> | 2021-04-04 21:40:58 -0700 |
| commit | 0f64f5b9c8bea153171c8070f423b9910820bbb1 (patch) | |
| tree | f647a537329d858e355572a3282a516dac6ce986 /weed/filesys/wfs.go | |
| parent | 6eee200c13b98088ebc6bb540b78fc7fe136a401 (diff) | |
| download | seaweedfs-0f64f5b9c8bea153171c8070f423b9910820bbb1.tar.xz seaweedfs-0f64f5b9c8bea153171c8070f423b9910820bbb1.zip | |
mount: add readOnly option
fix https://github.com/chrislusf/seaweedfs/issues/1961
Diffstat (limited to 'weed/filesys/wfs.go')
| -rw-r--r-- | weed/filesys/wfs.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/filesys/wfs.go b/weed/filesys/wfs.go index c6d9080a1..ba5eb4b6b 100644 --- a/weed/filesys/wfs.go +++ b/weed/filesys/wfs.go @@ -43,6 +43,7 @@ type Option struct { DataCenter string EntryCacheTtl time.Duration Umask os.FileMode + ReadOnly bool MountUid uint32 MountGid uint32 |
