NFS inherit permissions from shared directory - Mac OS client

Posted by devius on Server Fault See other posts from Server Fault or by devius
Published on 2012-05-24T19:38:09Z Indexed on 2012/06/02 4:43 UTC
Read the original article Hit count: 459

Filed under:
|
|
|
|

Short question: Is there a way to have files on a NFS share on the client inherit the permissions of the shared directory?

Scenario:

  • Ubuntu 12.04 server
  • Mac 10.7.4 client
  • shared directory has 775 permissions
  • created files on client have 644 permissions

I tried setting ACLs with the setfacl command, as explained here, and it appears they are set on the server.

getfacl returns this:

# file: Documents/
# owner: someguy
# group: somegroup
# flags: -s-
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:somegroup:rwx
default:mask::rwx
default:other::r-x

However, when I create a new file on the Mac OS client it still has 644 permissions and not the 664 I would expect. Files created on the server have the expected permissions. Files created with another Ubuntu client also have the expected permissions.

© Server Fault or respective owner

Related posts about linux

Related posts about macosx