File permissions problems with cp in Windows 7

2012-02-15 Thread Tom Quarendon
I'm hoping you can help me understand a problem that's been plaguing me for some time. I'm on a recent version of Cygwin (cygcheck -V reports 1.7.9) and I'm on Windows 7. I believe I have set up my /etc/passwd and /etc/group using mkpasswd and mkgroup in the appropriate way. If it makes a differ

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Tom Quarendon
cp only copies POSIX permissions. This is consistent with POSIX semantics which states that when copying a file the POSIX ACL isn't copied as well. Having file permissions set for "authenticated users" but not for the actual owner is Win32 semantics. There's no 1:1 translation. Which rat

Re: Problems with file permissions and cp when running on Vista

2008-07-29 Thread Tom Quarendon
Two issues as I see it. Firstly, cygwin doesn't appear to pick up that I have write access to the file README.txt. The getacl output below doesn't list Authenticated Users. I can't use vi to modify the file, but I can read the file using cat and so on. Secondly, cp takes a source file that I

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Tom Quarendon
Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it looks like your source fi

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Tom Quarendon
Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it looks like your source

Re: Problems with file permissions and cp when running on Vista

2008-07-28 Thread Tom Quarendon
Larry Hall (Cygwin) wrote: I'd start at the source. Give yourself POSIX-style access to the files to start with. 'cp' will preserve that access. 'cp' and many other utilities don't take ACL permissions into account. They are silently ignored. For whatever reason, it looks like your source f

Problems with file permissions and cp when running on Vista

2008-07-25 Thread Tom Quarendon
I'm getting problems copying files when running on my vista machine. I've got full vista UAC control turned on. I have a source file, and if I do getfacl I get: $ getfacl analysisLanguageResults.gif # file: analysisLanguageResults.gif # owner: Tom # group: None user::--- group::--- group:SYSTEM: