Thank you for your reply. I don't have Cygwin installed on the Windows server. I only have Services for NFS. As for the rsync command, I don't want to preserve the permission at the source as it will overwrite the Windows destination permission.
Windows server 2008 Standard
- On the domain
- Has Services for NFS and acts as NFS server
- NFS share on E drive (allow anonymous access unchecked). Permission have a list of IPs Read/Write ANSI encoding and Root Access Allowed)
- Identity mapping points to our domain
Linux1
- Acts as the NFS client
- Mounts the Windows share
Linux2
- Rsync data to Linux1 NFS mount causing ownership changes to a domain user account and wipes previous permissions to new ones on files and folders in Windows.
- Each day, our fix is to change the ownership back to the Administrators group and go to the parent folder and inherit permissions to what was changed from the parent folder on Windows.
It is quite cumbersome to make the ownership changes and manually do the permission changes each day in order for clients to make changes to the Windows files.
I need to find a solution for rsync to make changes to the data while keeping the ownership (Administrators group) and permissions intact.
I'm not too sure how the mapping works but the domain is specified. I'm guessing the user used by Linux to mount and rsync points to a specific domain user. How it chooses the user in the domain I'm not sure. I've noticed that the Linux user (test) points to domain account which contains test (test DOMAIN\1_2_test). Perhaps Linux user maps to same name user in the domain(or has that same name in the userID). But that domain user seem to overwrite the ownership of the file and adds Full Control in the permission which I want to avoid.
I'm not supporting the 2 Linux boxes but I can find out if you need more information at that level.
Hope I've cleared it up a bit more.
lace0047