dexen deVries
2013-04-04 13:59:33 UTC
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.
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
[[[↓][→]]]
dexen deVries
[[[↓][→]]]