mirror of
https://github.com/fuse-friends/fuse-native
synced 2024-10-27 18:34:01 +00:00
Added suid option
Added suid option to enable adding suid to mount options sent to fuse.
This commit is contained in:
parent
1e8a7fc104
commit
5ac85c424f
1
index.js
1
index.js
@ -194,6 +194,7 @@ class Fuse extends Nanoresource {
|
||||
if (this.opts.modules) options.push('modules=' + this.opts.modules)
|
||||
if (this.opts.useIno) options.push('use_ino')
|
||||
if (this.opts.dev) options.push('dev')
|
||||
if (this.opts.suid) options.push('suid')
|
||||
|
||||
if (this.opts.displayFolder && IS_OSX) { // only works on osx
|
||||
options.push('volname=' + path.basename(this.opts.name || this.mnt))
|
||||
|
Loading…
Reference in New Issue
Block a user