Tom Quarendon wrote:
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:rwx
group:Administrators:rwx
group:Users:r-x
mask:rwx
other:---

If I copy the file with CP, the result has
# file: analysisLanguageResults.gif
# owner: Tom
# group: None
user::---
group::---
mask:rwx
other:---

As a result I can't read the resulting file, all I get is access denied.

I'm sure there's some cygwin setup I can do to fix this, but I kind of hoped it would work out of the box.


Any ideas on how to make this work without having to chmod each file I copy?

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.

--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in 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/

Reply via email to