I’m trying to use --allow-root
and I’m also running rclone mount
as root.
This works:
rclone mount remote: /home/files
This doesn’t work:
rclone mount remote: /home/files --allow-root
mount helper error: fusermount: mount failed: Invalid argument
Fatal error: failed to mount FUSE fs: fusermount: exit status 1
My /etc/fuse.conf
has user_allow_other on it. System is Ubuntu 18.04 and remote is google drive.
What does rclone version show?
It’s latest, I just installed it… v1.47.0
Yeah, that seems baffling as it should work. I can reproduce it as well.
You can work around by using --fuse-flag allow_root
Probably best to file a bug report on it:
[felix@gemini ~]$ rclone mount GD: /Test --allow-root --debug-fuse -vv
2019/05/10 23:28:09 DEBUG : rclone: Version "v1.47.0" starting with parameters ["rclone" "mount" "GD:" "/Test" "--allow-root" "--debug-fuse" "-vv"]
2019/05/10 23:28:09 DEBUG : Using config file from "/opt/rclone/rclone.conf"
2019/05/10 23:28:09 DEBUG : Google drive root '': Mounting on "/Test"
2019/05/10 23:28:09 mount helper error: fusermount: unknown option 'allow_root'
2019/05/10 23:28:09 Fatal error: failed to mount FUSE fs: fusermount: exit status 1
2 Likes
Seems this is quite old. Thanks for the workaround
ncw
(Nick Craig-Wood)
May 11, 2019, 9:37am
6
This looks like a bug...
In fact it has been reported upstream
opened 12:00AM - 27 Jun 16 UTC
closed 10:10PM - 17 Jan 20 UTC
I'm getting this error:
2016/06/27 00:52:21 mount helper error: fusermount: moun… t failed: Invalid argument
According to https://sourceforge.net/p/fuse/mailman/message/34133833/ allow_root is supposed to be changed into allow_other internally and handled by denying everyone but the user and root in the daemon.
There is a work-around there...
Can you please make a new issue on github about this - thanks.
system
(system)
Closed
August 9, 2019, 9:50am
7
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.