mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:36:38 +08:00
mount: ignore --allow-root flag with a warning as it has been removed upstream
For background see: https://github.com/bazil/fuse/issues/144
This commit is contained in:
parent
d6e10dba33
commit
9663f9b2ab
|
@ -51,7 +51,8 @@ func mountOptions(device string) (options []fuse.MountOption) {
|
|||
options = append(options, fuse.AllowOther())
|
||||
}
|
||||
if mountlib.AllowRoot {
|
||||
options = append(options, fuse.AllowRoot())
|
||||
// options = append(options, fuse.AllowRoot())
|
||||
fs.Errorf(nil, "Ignoring --allow-root. Support has been removed upstream - see https://github.com/bazil/fuse/issues/144 for more info")
|
||||
}
|
||||
if mountlib.DefaultPermissions {
|
||||
options = append(options, fuse.DefaultPermissions())
|
||||
|
|
Loading…
Reference in New Issue
Block a user