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]

chmod problem on the list


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


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