9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] p9p vs. linux 9fs mount
@ 2013-04-04 13:59 dexen deVries
  2013-04-04 15:13 ` Alexander Sychev
  0 siblings, 1 reply; 4+ messages in thread
From: dexen deVries @ 2013-04-04 13:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

p9p/linux question.

i can't get seem to get write access to acme's files as mounted via linux 9p 
driver (v9fs). read works OK, but writes are rejected.


# mount -t 9p '/tmp/ns.root.localhost:13/acme' /mnt/acme -o 
'trans=unix,uname=root'
# ls /mnt/acme
1/  2/  3/  4/  acme/  cons  consctl  draw/  editout  index  label  new/
# echo delete > /mnt/acme/1/ctl 
-bash: /mnt/acme/1/ctl: Permission denied


when mounted with debug=0x04, i see in dmesg that TRSTAT gets passed 
`uname=root', but TWSTAT gets `uname=(null)'.


what am i doing wrong?


tested with linux kernel version 3.9.0-rc3 and 3.5.0 and with recent p9p 
version.

-- 
dexen deVries

[[[↓][→]]]




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-04-04 15:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-04 13:59 [9fans] p9p vs. linux 9fs mount dexen deVries
2013-04-04 15:13 ` Alexander Sychev
2013-04-04 15:19   ` erik quanstrom
2013-04-04 15:37     ` dexen deVries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).