I have a Windows 7 box and a Linux machine. I can correctly access the files on the Windows machine from the Linux machine. however, when I look at the permissions from Linux and from Cygwin on my Windows box they are not the same.
My understanding was that natively the filesystem permissions are managed by access control lists (ACL's) which are mapped to POSIX filesystem permissions (which are a subset of ACLs) by both Cygwin and by Samba when it connects, is that correct? Do I need to enable something in my samba.conf
to do this?
# Linux machine (incorrect file permissions)
» ll .gitignore
-rwx------ 1 michael users 57 Oct 28 10:41 .gitignore
# Windows machine (via cygwin, correct file permissions)
$ ll .gitignore
-rw-r--r-- 1 hauserra Domain Users 57 Oct 28 10:41 .gitignore
Is there any way to get these two boxes to be speaking the same file-permissions language so that I can modify the files on the windows box from Linux without breaking things horribly?