try mounting without fusermount(1) first#59
Conversation
Note that this depends on jacobsa/fuse#58 and jacobsa/fuse#59, which have been temporarily vendored in the previous three commits.
This requires root privileges or the CAP_SYS_ADMIN capability, but allows supporting -o suid.
/dev/fuse is not pollable. Go ≥ 1.13 starts reporting this on Read().
|
hi, @stapelberg can you help me,with this patch when i mount fuse with root, hit the err but normal user is ok! |
|
Can you open an issue for that please? In the issue, can you supply an strace log (use strace -fvy -s2048 -o /tmp/strace.log in front of your command), and can you let us know how to reproduce the problem? |
thank you very much! |
|
@stapelberg hi, can you tell something about why root not use fusermount? |
|
This is a requirement for supporting the |
got it, thank you |
This requires root privileges or the CAP_SYS_ADMIN capability, but allows supporting -o suid.
I also addressed a bunch of readability-related nits while touching the code.