From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Costin Chirvasuta Date: Fri, 29 Jul 2016 12:31:54 +0300 Message-ID: To: 9fans <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] linux mount -t 9p permissions problem Topicbox-Message-UUID: 96ec351a-ead9-11e9-9d60-3106f5b1d025 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=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.