Please sign in to comment.
Add the option -allow_other to upspinfs
Fix #615. This allows the user to specify the flag -allow_other when mounting an upspinfs endpoint so that the upspin filesystem becomes visible to other users of the same system. I like to use upspinfs for development across different machines. Building in a docker container ensures a uniform build environment no matter what machine I happen to be using at present. Without -allow_other, the user that runs the docker daemon (initially root) can't see the mount point and `docker run` will fail, and crash my dreams of a remote filesystem. For some background see a similar issue here: moby/moby#27026 (comment) Allowing others to see your files in upspin is probably a bad idea in general, as it allows the users to circumvent upspinfs permissions. The user should probably make sure they are aware who can access their mount point to begin with. However, given that (1) for this flag to work, the system administrator needs to allow the action explicitly by allowing the flag in /etc/fuse.conf, and (2) the user may always choose to give their credentials away to whomever they want, it seems OK to allow the flag to exist as long as the user and the admin both know what they are doing. Change-Id: Ib14554875ce01127eac23ee7293774545f8b4da6 Reviewed-on: https://upspin-review.googlesource.com/c/19260 Reviewed-by: Andrew Gerrand <email@example.com>
- Loading branch information...
Showing with 15 additions and 7 deletions.