This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 file has no POSIX permissions for user, group, and other. Fix that with 'chmod' and I think you'll have solved your problem.

I suppose that I'm suprised and disappointed that I can't just use cp to copy arbitrary files around without first having to lay groundwork in order for things to work properly.
We use cygwin cp as part of our build process and it complicates matters if can't just check a source tree out and have cp work properly on the result.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]