You are not logged in.
Hi
I have been toying with the idea to try to build some stuff from Bell labs sources using kencc and plan9port.
My first issue comes from pulling the sources using the 9P protocol:
9 mount 'tcp!sources.cs.bell-labs.com' $srcdir/sources
makes a good connection and I can cd to wherever in the source directory...
I can however not copy stuff and it seems to be permission issues related to this.
for example:
~/Arch/Packaging/kencc-ape-9p/src % cp -ar sources/plan9/sys/src/ape ape
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/9src/mkfile” för läsning: Åtkomst nekas
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/9src/stty.c” för läsning: Åtkomst nekas
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/9src/tar.c” för läsning: Åtkomst nekas
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/9src/tty.h” för läsning: Åtkomst nekas
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/cmd/README” för läsning: Åtkomst nekas
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/cmd/basename.c” för läsning: Åtkomst nekas
unexpected open flags 0500000cp: kan inte öppna ”sources/plan9/sys/src/ape/cmd/cc.c” för läsning: Åtkomst nekas
(translation:
"kan inte öppna" = can not open
"för läsning: Åtkomst nekas" = for reading: Permission denied)
Does anyone have experience with using 9P2000 from within plan9port? Are there solutions to this problem?
Last edited by W.F.Cody (2011-10-04 20:02:49)
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline
I have the same problem trying it via p9p. but the kernel's built-in 9p support works for me. As root:
mount -t 9p 204.178.31.11 mountpoint
You need to specifiy the ip address; it won't do dns lookups for you.
I'm not sure what the problem with p9p is, but maybe this workaround will help. You also could see if the problem also exists with self-built p9p, rather than one from the package, to see if it is a problem with the package.
Offline
Awsome!
Thanks! This will do for now, and then I will try to figure out why it does not work with p9p later
I just sent an email to the 9fans list with the same question so perhaps someone will figure it out.
Edit: A patch has been made that supposedly fixes the issue with 9pfuse:
http://9fans.net/archive/2011/10/103
I have not yet tried it
Last edited by W.F.Cody (2011-10-04 20:04:38)
My AUR packages
Any package of mine is up for grabs. If you think you could mantain it better - just contact me!
Offline