Add mount options support

This commit is contained in:
Vitaliy Filippov 2021-07-16 16:12:57 +03:00
parent 0433ead376
commit d78d476d6d
6 changed files with 36 additions and 4 deletions
pkg/mounter

View file

@ -50,6 +50,7 @@ func (s3fs *s3fsMounter) Mount(source string, target string) error {
"-o", "allow_other",
"-o", "mp_umask=000",
}
args = append(args, s3fs.meta.MountOptions...)
return fuseMount(target, s3fsCmd, args)
}