From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 5 Jun 2009 00:58:30 +0100 From: Ethan Grammatikidis To: 9fans@9fans.net Message-Id: <20090605005830.be53830c.eekee57@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [9fans] Drawterm /mnt/term permissions issue Topicbox-Message-UUID: 049b6d92-ead5-11e9-9d60-3106f5b1d025 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