My Debian 9 Server runs with VMware Worksstation 12 Pro. On the client also runs Debian 9.
I mapped UID and GID between both machines.
I create a shared folder and mount it:
/etc/fstab
.host:/daten /mnt/hgfs fuse.vmhgfs-fuse defaults,allow_other 0 0
I have read/write permissions on every folder GID less than 1001. Files and folders higher 1000 I dont have read/write permissions.
drwxrwx--- 1 502 1002 4096 Okt 25 20:43 angebote
ls: das Verzeichnis '/mnt/hgfs/cse/angebote' wird gelesen: Keine Berechtigung (permission denied)
Than I changed the GID in the /etc/group from 1001 to 999 and the folder owner with chown on both machines. Now i have read/write access on the same folder.
Next test wars to mount the share with GID=1002
/etc/fstab
.host:/daten /mnt/hgfs fuse.vmhgfs-fuse defaults,allow_other,gid=1002 0 0
Now i have the same read/write permissions as without option: gid=1002.
The problem is to search on the server.
Does somebody has any idea?
Many Thanks
Andreas