9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Costin Chirvasuta <costinc@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: [9fans] linux mount -t 9p permissions problem
Date: Fri, 29 Jul 2016 02:54:40 +0300	[thread overview]
Message-ID: <CAPv5z_10u6cNnKkXL0eDiB4AyZo5AwHNQdvC0_oVezbbUewAPg@mail.gmail.com> (raw)

I have ufs (https://github.com/rminnich/go9p/) running on a FreeBSD
box and I'm trying to mount it on linux but the directory has
permission 0:

~$ 9mount -in 'tcp!fs!5640' fs
mount -t 9p -o tcp,trans=tcp,name=ctn,uname=ctn,noextend,nodev,uid=1000,gid=1000,dfltuid=1000,dfltgid=1000,port=5640
192.168.0.3 fs
~$ 9mount -i 'tcp!fs!5640' fs
~$ ls fs
ls: cannot open directory fs: Permission denied
~$ ls -ld fs
d--------- 1 ctn ctn 0 Jul 26 23:52 fs

Any idea how I can fix this? I tried adding umask=0002 as a mount
option but it doesn't seem to work.



             reply	other threads:[~2016-07-28 23:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-28 23:54 Costin Chirvasuta [this message]
2016-07-29  9:31 ` Costin Chirvasuta
2016-07-29 12:40   ` Costin Chirvasuta
2016-08-03 13:19     ` Sergey Zhilkin

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