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 <cost...@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 > 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.