1.7.9-1 Patch command mangles permissions on windows 7

Roger Pack rogerdpack2@gmail.com
Thu Oct 13 23:15:00 GMT 2011


Forgive me if this is a commonly reported bug, but I wasn't sure if
other discussions on permissions issues were the same as this issue...

$ c:\installs\cygwin\bin\patch.exe -p0 < multithread_utilities_trunk.diff
(Stripping trailing CRs from patch.)
patching file xxx/yyy/zzz/Test.java
...

now attempt to use the files I just patched:

$ mvn clean install
...
[ERROR] error: error reading xxx\yyy\zzz\Test.java;
xxx\yyy\zzz.java (Access is denied)

I was able to reproduce this on another computer, as well.
Windows 7, 64 bit, blah blah blah.

When I right click on the files and go to properties -> security,
somehow all users except administrators have no rights to the modified
files.

Thanks!
-roger-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 53913 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20111013/a6b122ca/attachment.obj>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list