support write once read many

fix https://github.com/seaweedfs/seaweedfs/issues/5954
This commit is contained in:
chrislu
2024-09-04 02:25:07 -07:00
parent 18afdb15b6
commit eb02946c97
5 changed files with 15 additions and 2 deletions

View File

@@ -247,6 +247,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
Cipher: cipher,
UidGidMapper: uidGidMapper,
DisableXAttr: *option.disableXAttr,
WriteOnceReadMany: *option.writeOnceReadMany,
})
// create mount root