This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: chmod problem on the list
- From: Christopher Faylor <cgf at alum dot bu dot edu>
- To: cygwin-developers at cygwin dot com
- Date: Fri, 28 May 2004 20:04:19 -0400
- Subject: Re: chmod problem on the list
- References: <40B7BCD5.1D7A665E@ieee.org>
- Reply-to: cygwin-developers at cygwin dot com
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