On Thu, Oct 1, 2009 at 05:31, sqweek <sqw...@gmail.com> wrote: > 2009/10/1 Ethan Grammatikidis <eeke...@fastmail.fm>: >> On Thu, 1 Oct 2009 04:50:40 -0500 >> Jason Catena <jason.cat...@gmail.com> 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