9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] p9p vs. linux 9fs mount
Date: Thu,  4 Apr 2013 15:59:33 +0200	[thread overview]
Message-ID: <1770421.dE5U4bBIyp@coil> (raw)

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

[[[↓][→]]]




             reply	other threads:[~2013-04-04 13:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 13:59 dexen deVries [this message]
2013-04-04 15:13 ` Alexander Sychev
2013-04-04 15:19   ` erik quanstrom
2013-04-04 15:37     ` dexen deVries

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1770421.dE5U4bBIyp@coil \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).