0

I've created an NFS mountpoint with rw permissions. How do I set new files in a directory to be created by a specific user/group with certain permissions?

Ken J
  • 101
  • 1

1 Answers1

0

chown a file to any particular user/group that you need and then follow the below steps.

ACLs are applied to directories and files. You can't apply them to a group, at least not directly. You can apply them to all files/directories a group owns, by chaining with find:

find /home/username/filename -group «some-group» -type d -exec setfacl -m u:username:rx '{}' '+'

References

Please refer to derobert's answer to my old question here.

Ramesh
  • 38,687
  • 43
  • 140
  • 215