mono/mono — pull request #192 by slide (2011-11-29 14:33:00+00:00)
Title: Bug 2239

Implement fix for http://bugzilla.xamarin.com/show_bug.cgi?id=2239 which happens because the current Copy task does not reset the permissions on the destination file after copying like msbuild does. This also implements OverwriteReadOnlyFiles for the Copy task by checking if that option is true and resetting permissions on the destination file if it exists prior to copying.