On Mon, 28 Jul 2008, Tom Quarendon wrote:
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 struggle to give myself posix style permissions.
I have a file README.txt in the root of my build source tree:
$ getfacl README.txt
# file: README.txt
# owner: Tom
# group: None
user::---
group::---
group:SYSTEM:rwx
group:Administrators:rwx
group:Users:r-x
mask:rwx
other:---
If I then do chmod --
$ chmod 755 README.txt
chmod: changing permissions of `README.txt': Permission denied
When I had that on Vista, I found running the Cygwin window as
administrator allowed me to chmod stuff. I had to chmod the whole
of /usr to something more useful. [Just in case you need it: right
click the icon, then "run as administrator" is near the top of the
menu. BYKT, I expect]
HTH
Hugh
--
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/