From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Sergey Zhilkin Date: Wed, 3 Aug 2016 16:19:43 +0300 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=001a1143f7aefd68fd05392ab016 Subject: Re: [9fans] linux mount -t 9p permissions problem Topicbox-Message-UUID: 96f51b08-ead9-11e9-9d60-3106f5b1d025 --001a1143f7aefd68fd05392ab016 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Great ! :) 2016-07-29 15:40 GMT+03:00 Costin Chirvasuta : > I love 9P! It was the only way I could export a FUSE filesystem over > the network and it works flawlessly! > > On Fri, Jul 29, 2016 at 12:31 PM, Costin Chirvasuta > wrote: > > Well, this was because the exported directory on FreeBSD has > > permission 0. It is the mountpoint of torrentfs > > (github.com/anacrolix/torrent). > > > > On Fri, Jul 29, 2016 at 2:54 AM, Costin Chirvasuta > wrote: > >> 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=3Dtcp,name=3Dctn,uname=3Dctn,noextend,nodev,uid=3D1000,gid=3D10= 00,dfltuid=3D1000,dfltgid=3D1000,port=3D5640 > >> 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=3D0002 as a mount > >> option but it doesn't seem to work. > > --=20 =D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF= =D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8 =D0=96=D0=B8=D0=BB=D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 With best regards Zhilkin Sergey --001a1143f7aefd68fd05392ab016 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Great ! :)

2016-07-29 15:40 GMT+03:00 Costin Chirvasuta <costinc@gma= il.com>:
I love 9P! It was = the only way I could export a FUSE filesystem over
the network and it works flawlessly!

On Fri, Jul 29, 2016 at 12:31 PM, Costin Chirvasuta <costinc@gmail.com> wrote:
> Well, this was because the exported directory on FreeBSD has
> permission 0. It is the mountpoint of torrentfs
> (github.com/anacrolix/torrent).
>
> On Fri, Jul 29, 2016 at 2:54 AM, Costin Chirvasuta <costinc@gmail.com> wrote:
>> 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<= br> >> permission 0:
>>
>> ~$ 9mount -in 'tcp!fs!5640' fs
>> mount -t 9p -o tcp,trans=3Dtcp,name=3Dctn,uname=3Dctn,noextend,nod= ev,uid=3D1000,gid=3D1000,dfltuid=3D1000,dfltgid=3D1000,port=3D5640
>> 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=3D0002 as a moun= t
>> option but it doesn't seem to work.




--
=
=D0=A1 = =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF=D0=BE= =D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8
=D0=96=D0=B8=D0= =BB=D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
With best reg= ards
Zhilkin Sergey
--001a1143f7aefd68fd05392ab016--