I have a directory on my Linux server:
I'am sharing this so that I can mount inside my OSX computer.
/etc/exports file looks like this:
The problem is that I have difficulties with permissions, every time I edit things on the server side, I get a set of group and user permissions. Then when I edit a file on my OSX computer I get permission warnings in vim and when I force, I get the data saved but then this introduces a new set of groups and permissions etc.
For example, on the Linux side, I get:
drwxrwxrwx 2 someuser someshare 4096 Jun 22 21:40 test.txt
The after the edit on the Mac side, I get
-rw-rw-r-- 1 501 dialout 166 Jun 22 21:40 test.txt
I can see there is a clash, I even tried to create the same users on both sides, but no luck.