Project

General

Profile

Actions

Bug #7231

closed

arv-web Documentation/python-arvados-fuse sets strict permissions

Added by Sarah Guthrie over 9 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
09/07/2015
Due date:
% Done:

0%

Estimated time:
Story points:
-

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]

Related issues 1 (1 open0 closed)

Is duplicate of Arvados - Bug #7230: [Documentation] FUSE documentation should note granting FUSE permissionsNew09/07/2015

Actions
Actions #1

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

Actions #2

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?

Actions #3

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.

Actions #4

Updated by Brett Smith over 9 years ago

Per the above, closing as duplicate of #7230.

Actions #5

Updated by Brett Smith over 9 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF