chmod problem on the list
Christopher Faylor
cgf@alum.bu.edu
Sat May 29 00:04:00 GMT 2004
On Fri, May 28, 2004 at 06:27:33PM -0400, Pierre A. Humblet wrote:
>I have problems with cvs and can't submit a proper patch.
>The chmod problem reported on the list can be fixed
>(at least for me) by adding the "&& pc.has_acls ()"
>in fhandler_disk_file::fchmod
>
> if (wincap.has_security ())
> {
> enable_restore_privilege ();
> if (!get_io_handle () && pc.has_acls ()) <=== HERE
> {
> query_open (query_write_control);
> if (!(oret = open_fs (O_BINARY, 0)))
> return -1;
> }
I'll check this in if you can supply a ChangeLog. I'm not sure what to say.
cgf
More information about the Cygwin-developers
mailing list