Problems with samba, groups and permissions
I've got a redhat system running as a file server using SAMBA. Everything pretty much works, except for a really irritating problem with the shared area. I've got two users , say Mary and Joe, who are members of the same group, mycompany. They are also members of their own groups. If there is a file in the shared area, with read/write permission for owner and group (read only for other), then both Mary and Joe can read and write the file. The problem is that if Mary writes the file then the file group becomes Mary and the group permissions are set to read only. This means that Joe can't write the file any more. The problem is symmetrical. I've thought of a few workarounds, but they all have drawbacks.
1. Eliminate the groups Mary and Joe, or at least make the primary group of users Mary and Joe mycompany. This might fix the group, but not the lack of group write permission.
2. Make the share accessible to anyone. Undesirable.
3. Try and write a logout script which resets the permissions and group ownership of all files in the shared area.
4. Give up on SAMBA and use NFS. Are there any free NFS clients for Windows 2000?