9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] group ownership for shared devices
Date: Tue, 10 Nov 2009 08:58:33 -0500	[thread overview]
Message-ID: <0e86ef1d4fd9867cb6aa1db3432d78b1@ladd.quanstro.net> (raw)
In-Reply-To: <<a4d96da30911100522w825d264v56bf72fd3f99385c@mail.gmail.com>>

On Tue Nov 10 08:25:22 EST 2009, ze.brandao@gmail.com wrote:
> Sorry for my ignorance, but is this not what importfs is for ?

what is importfs?

if you mean exportfs, it's not going to do what lyndon wants
you can import devices as a normal user

	; import -E ssl minooka.coraid.com '#æ' /n/mæ

but that doesn't change the system's idea of who you are

	; cd /n/mæ/aoe && ls -l
	--rw-r--r-- M 71124 bootes bootes 0 Oct 28 12:26 ctl
	--r--r--r-- M 71124 bootes bootes 0 Oct 28 12:26 log
	; echo bind '#l1/ether1' > ctl
	ctl: rc: can't open: 'ctl' './aoe/ctl' permission denied

you can import as another user, say bootes.  but in order to
do that, every member of the group has to have bootes'
password.  but if that were the case, lyndon's users could just
cpu in as bootes.

- erik



       reply	other threads:[~2009-11-10 13:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<a4d96da30911100522w825d264v56bf72fd3f99385c@mail.gmail.com>
2009-11-10 13:58 ` erik quanstrom [this message]
2009-11-10 15:27 José Brandão
  -- strict thread matches above, loose matches on Subject: below --
2009-11-10 13:22 José Brandão
2009-11-10  5:44 Lyndon Nerenberg
2009-11-10  6:00 ` Russ Cox
2009-11-10  6:24   ` Lyndon Nerenberg
2009-11-10  7:20   ` Lyndon Nerenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e86ef1d4fd9867cb6aa1db3432d78b1@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).