This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: chmod problem on the list


At 08:04 PM 5/28/2004 -0400, Christopher Faylor wrote:
>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.

Thanks.

	* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Only try to open the
	file if it uses an acl.

Pierre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]