-
I’m building a flow which deploys juicefs as regular user (ie. no root access). In my flow, each remote process mounts volume as follow (from various machines).
However, for some machine where the access permission of fusermount is not set properly (as follow for example), “juicefs mount -d …” hanged forever.
In fact, juicefs without “-d” properly returned 1 and with the following error message.
I wonder whether the hanging of “juicefs mount -d …” is expected. If so, I will build my flow without “-d” then put the mounting process in the background ourselves. Let me know. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It seems you OS is a a little bit old and the Currently we check if the mount point is ready in a infinite loop, we'll consider resolving this. If you flow is executed with a specific regular user, you can add it to group |
Beta Was this translation helpful? Give feedback.
-
@myc724 We have added a timeout for mounting in background, it will fail (exit with 1) if the mount point is not ready in 10 seconds. |
Beta Was this translation helpful? Give feedback.
It seems you OS is a a little bit old and the
fusermount
should be run by thefuse
group.Non-privileged user mount will execute the mount by
fusermount
as it has set-user-ID bit, thus get the privilege.Currently we check if the mount point is ready in a infinite loop, we'll consider resolving this.
If you flow is executed with a specific regular user, you can add it to group
fuse
to bypass.