From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 5 Jun 2009 14:09:45 +0100 From: Ethan Grammatikidis To: 9fans@9fans.net Message-Id: <20090605140945.2a8e86dd.eekee57@fastmail.fm> In-Reply-To: <140e7ec30906050114q7211750dl33782219caa55656@mail.gmail.com> References: <20090605005830.be53830c.eekee57@fastmail.fm> <140e7ec30906050114q7211750dl33782219caa55656@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] I fail at bind WAS: Drawterm /mnt/term permissions issue Topicbox-Message-UUID: 052d770a-ead5-11e9-9d60-3106f5b1d025 On Fri, 5 Jun 2009 16:14:51 +0800 sqweek wrote: > 2009/6/5 Ethan Grammatikidis : > > the guest sees all user/group names as unknown/unknown, preventing writing. > > incorrect diagnosis. > > cpu% ls -ld /mnt/term/home/sqweek/tmp > d-rwxrwxr-x M 68780 unknown unknown 4096 Jun 5 16:07 /mnt/term/home/sqweek/tmp > cpu% touch /mnt/term/home/sqweek/tmp/lol > cpu% ls -l /mnt/term/home/sqweek/tmp/lol > --rw-rw-rw- M 68780 unknown unknown 0 Jun 5 16:11 /mnt/term/home/sqweek/tmp/lol > > -sqweek > You're right. My lib/profile contained the following: vxdir = /mnt/term/trees/x86-chroot/home/ethan/plan9/home if (test -e $vxdir) { bind $vxdir $home/9vx-home } I was doing this: sauvo> cd 9vx-home/ sauvo> echo foo > bar bar: rc: can't open: 'bar' mounted directory forbids creation I guess I assumed that error was global, as it would have been if I'd used Linux mount --bind. Sorry about that. Not off to a good start am I? :) I've fixed my profile & re-started drawterm & now everything's normal. New question: New files created under /mnt/term have permissions 0666, or 0777 for directories. Can I make the default not world-writable? -- Ethan Grammatikidis The lyf so short, the craft so long to lerne. -- Chaucer