Permission problem sharing files over NFS from ZFS

All your general support questions for OpenZFS on OS X.

Permission problem sharing files over NFS from ZFS

Postby terminar » Wed Nov 29, 2017 8:45 am

Hi,

I'm using OSX 10.13.1, OpenZFS on OS X 1.7.0 and have some problems sharing folders on ZFS via NFS to an ubuntu 16.04 linux NFS client.
I am not a complete ZFS newbie (used it some years on FreeBSD), using it now since half a year on OS X, but I have never used the ACL stuff.

My problem is writing/copying files from the NFS client to the NFS server:
The mount is working, everything is "great" but I have problems with the permissions - I can't write files (e.g. via cp -avr), I'm getting permission denied creating the files or directories. But when I try to "mkdir" or "touch" some files, it's working!
I'm out of ideas :(.

I have tried the same NFS configuration on another folder not sitting on ZFS, that's working without _any_ problems, so I think it has something to do with ZFS ACL stuff (but I haven't configured anything yet, it's default).

NFS: Both user- and groupids are the same on the server and the linux client. aclinherit is set to restricted and aclmode is set to passthrough.

Can anybody give me some point to the right direction?

Thanks
Björn
terminar
 
Posts: 1
Joined: Wed Nov 29, 2017 8:31 am

Re: Permission problem sharing files over NFS from ZFS

Postby lundman » Thu Nov 30, 2017 5:14 pm

https://github.com/openzfsonosx/zfs/issues/616

There is a temporary fix in master that you could try out
User avatar
lundman
 
Posts: 456
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to General Help

Who is online

Users browsing this forum: Google [Bot] and 1 guest