mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
Forward read only flag to fuse opts
This commit is contained in:
parent
9528eeff48
commit
f0098a39cb
1
index.js
1
index.js
@ -171,6 +171,7 @@ class Fuse extends Nanoresource {
|
||||
if ((/\*|(^,)fuse-bindings(,$)/.test(process.env.DEBUG)) || this.opts.debug) options.push('debug')
|
||||
if (this.opts.allowOther) options.push('allow_other')
|
||||
if (this.opts.allowRoot) options.push('allow_root')
|
||||
if (this.opts.ro) options.push('ro')
|
||||
if (this.opts.autoUnmount) options.push('auto_unmount')
|
||||
if (this.opts.defaultPermissions) options.push('default_permissions')
|
||||
if (this.opts.blkdev) options.push('blkdev')
|
||||
|
Loading…
Reference in New Issue
Block a user