9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <mirtchovski@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] a 9P session between debian client and Plan 9 server side
Date: Tue,  3 Jan 2012 07:59:06 -0700	[thread overview]
Message-ID: <CAK4xykWRf73ZLcOOtDPj2HxcvqzA71uSyfJ0wbw9tNueedVMCQ@mail.gmail.com> (raw)
In-Reply-To: <db4117e9-e216-494e-b27c-e71634a2121d@v24g2000prn.googlegroups.com>

You should add the '-d' flag which sets the chatty9p global variable
to something greater than zero. chatty9p is documented in the man page
for the 9p library. It will give you a full dump of everything that
the linux side is trying to do.

What's happening in your case is that you're using overwrite instead
of append. Linux, being smart as it is, breaks '>' into a truncate +
write, which in 9p parlance is wstat + write. You don't have wstat
implemented for your file server, so you're getting "operation not
permitted" (the actual ename you will see is 'wstat prohibited').

Try with '>>' instead, it'll work.

andrey



  parent reply	other threads:[~2012-01-03 14:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 10:49 Kin Loo
2012-01-03 12:50 ` Yaroslav
2012-01-03 14:59 ` andrey mirtchovski [this message]
2012-01-05 10:07 ` Kin Loo

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=CAK4xykWRf73ZLcOOtDPj2HxcvqzA71uSyfJ0wbw9tNueedVMCQ@mail.gmail.com \
    --to=mirtchovski@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).