From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <140e7ec30910010331o5dbe12c5lac6ae914a8ebe696@mail.gmail.com> References: <20091001110459.b054ff0b.eekee57@fastmail.fm> <140e7ec30910010331o5dbe12c5lac6ae914a8ebe696@mail.gmail.com> Date: Thu, 1 Oct 2009 10:34:05 -0500 Message-ID: From: Jason Catena To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] remedial sources auth, connect, and mount in plan9port Topicbox-Message-UUID: 7b379106-ead5-11e9-9d60-3106f5b1d025 On Thu, Oct 1, 2009 at 05:31, sqweek wrote: > 2009/10/1 Ethan Grammatikidis : >> On Thu, 1 Oct 2009 04:50:40 -0500 >> Jason Catena wrote: >>> $ ls -lad >>> drwxrwxr-x 1 4294967294 4294967294 0 2009-09-30 23:11 . >> >> You have numbers for user and group names there. Un*x likes the >> numbers, but plan 9 wants strings. > > Yeah, I suspect at this point the linux kernel is denying the > operation based on its idea of permissions. there's a v9fs mount > option you might try... I forget what it is exactly but 9mount -i does > it :) > Try: > > 9mount -i 'unix!/tmp/ns.jdc.192.168.1.101:0/sources.cs.bell-labs.com' /n/sources This does mount, and let me write into my directory, thanks! Every time I do so, either with touch or chmod for example, I get errors like this: Oct 1 08:52:39.288 read bad packet from 5 I can 9umount and then 9mount again for my next write operation as root. Oddly enough, cp does not throw the error. I can cp fine, then touch gives me this $ sudo touch that [sudo] password for jdc: Oct 1 10:20:25.502 read bad packet from 6 $ ls ls: cannot open directory .: Input/output error I unmount and remount and then I can cp again. $ cd - /home/jdc $ sudo 9umount /n/sources [sudo] password for jdc: $ sudo 9mount -i 'unix!/tmp/ns.jdc.192.168.1.101:0/sources.cs.bell-labs.com' /n/sources $ cd - /n/sources/contrib/catenate $ sudo cp /home/jdc/contrib/latin1.7a.font . $ ls lsguide latin1.7a.font that this So all the files get there, it's just annoying to have to unmount/remount, and to have everything owned by root. $ ls -la total 2 -rw-r--r-- 1 root root 62 2009-10-01 08:59 guide -rw-r--r-- 1 root root 577 2009-10-01 10:21 latin1.7a.font -rw-r--r-- 1 root root 0 2009-10-01 10:20 that -rw-r--r-- 1 root root 0 2009-10-01 08:49 this > -sqweek I also tried Abhishek's command also, but still got "permission denied". Thanks everyone for your help. Jason Catena