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:

et...@vardo $ pwd
/home/ethan/tmp
et...@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
et...@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

ge...@linuxbox $ cd ~/tmp
ge...@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

Reply via email to