From: Ethan Grammatikidis <eekee57@fastmail.fm>
To: 9fans@9fans.net
Subject: [9fans] Drawterm /mnt/term permissions issue
Date: Fri, 5 Jun 2009 00:58:30 +0100 [thread overview]
Message-ID: <20090605005830.be53830c.eekee57@fastmail.fm> (raw)
I run a plan 9 cpu server in Qemu and use drawterm to connect from the Linux host. I thought the /mnt/term mechanism would be very convenient for exchanging files between host & guest, but the guest sees all user/group names as unknown/unknown, preventing writing.
Within drawterm:
sauvo> echo $user
ethan
sauvo> cd /mnt/term/home/ethan/tmp
sauvo> ls -l
d-rwxr-xr-x M 80 unknown unknown 4096 Jun 4 19:52 glibc-2.9
--rw-r--r-- M 80 unknown unknown 5539 Jun 2 21:57 installed
sauvo>
In Linux:
ethan@vardo $ pwd
/home/ethan/tmp
ethan@vardo $ ls -l
total 12K
drwxr-xr-x 67 ethan ethan 4.0K 2009-06-04 19:52 glibc-2.9/
-rw-r--r-- 1 ethan ethan 5.5K 2009-06-02 21:57 installed
ethan@vardo $
Is this a drawterm issue? If so...
I can understand drawterm mapping most user & group names to unknown, but shouldn't I be able to write to my own files? This could be solved if drawterm mapped the username of the running user to that of the logged in user.
To illustrate how I think that mapping would appear in use, if my username on my Linux box was was "geoff", and used drawterm to log in to a plan 9 machine as user bootes the above example would appear as follows:
plan9host> echo $user
bootes
plan9host> cd /mnt/term/home/geoff/tmp
plan9host> ls -l
d-rwxr-xr-x M 80 bootes bootes 4096 Jun 4 19:52 glibc-2.9
--rw-r--r-- M 80 bootes bootes 5539 Jun 2 21:57 installed
geoff@linuxbox $ cd ~/tmp
geoff@linuxbox $ ls -l
total 12K
drwxr-xr-x 67 geoff geoff 4.0K 2009-06-04 19:52 glibc-2.9/
-rw-r--r-- 1 geoff geoff 5.5K 2009-06-02 21:57 installed
--
Ethan Grammatikidis
The lyf so short, the craft so long to lerne. -- Chaucer
next reply other threads:[~2009-06-04 23:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-04 23:58 Ethan Grammatikidis [this message]
2009-06-05 0:23 ` Russ Cox
2009-06-05 5:20 ` Ethan Grammatikidis
2009-06-06 18:39 ` Skip Tavakkolian
2009-06-05 5:23 ` Ethan Grammatikidis
2009-06-05 5:40 ` erik quanstrom
2009-06-05 8:14 ` sqweek
2009-06-05 13:09 ` [9fans] I fail at bind WAS: " Ethan Grammatikidis
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=20090605005830.be53830c.eekee57@fastmail.fm \
--to=eekee57@fastmail.fm \
--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).