Bug #7231
closedarv-web Documentation/python-arvados-fuse sets strict permissions
0%
Description
arv-web requires sudo permissions to look at/etc/fuse.conf
sguthrie@sguthrie-System-Product-Name:~/git/arvados/services/arv-web$ ./arv-web.py --project su92l-j7d0g-th5dlnrrtmgvjpn --port 8888 fusermount: failed to open /etc/fuse.conf: Permission denied fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf 2015-09-07 15:04:22 arvados.arv-web[30998] INFO: Unmounting fusermount: entry for /tmp/tmpalWsEX not found in /etc/mtab Traceback (most recent call last): File "./arv-web.py", line 253, in <module> sys.exit(main(sys.argv[1:])) File "./arv-web.py", line 245, in main arvweb.run() File "./arv-web.py", line 212, in run self.mount_collection() File "./arv-web.py", line 103, in mount_collection self.run_fuse_mount() File "./arv-web.py", line 91, in run_fuse_mount llfuse.init(self.operations, self.mountdir, ['allow_other']) File "llfuse/fuse_api.pxi", line 253, in llfuse.capi.init (src/llfuse/capi_linux.c:24362) RuntimeError: fuse_mount failed sguthrie@sguthrie-System-Product-Name:~/git/arvados/services/arv-web$ sudo ./arv-web.py --project su92l-j7d0g-th5dlnrrtmgvjpn --port 8888 2015-09-07 15:04:44 arvados.arv-web[31011]
Updated by Sarah Guthrie over 9 years ago
The workaround of sudo prevents the use of arv-web, since the user ARVADOS_API tokens change
Updated by Brett Smith over 9 years ago
Sally,
Generally, any user with permission to make FUSE mounts should be allowed to read /etc/fuse.conf
, without using sudo.
More likely the issue here is that your account needs to be added to the fuse group. This is the traditional way to give users permission to make FUSE mounts on Debian-based systems.
Can you please add your account to the fuse group, make that membership effective (e.g., newgrp fuse
), and see whether that clears up your issue?
Updated by Brett Smith over 9 years ago
Probably my note above is the fix for #7230, and then this is effectively a duplicate of that.
Updated by Brett Smith over 9 years ago
Per the above, closing as duplicate of #7230.