chmod problem on the list

Pierre A. Humblet Pierre.Humblet@ieee.org
Fri May 28 22:27:00 GMT 2004


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;
        }


Pierre



More information about the Cygwin-developers mailing list