From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65765 invoked by alias); 27 Jan 2016 12:41:39 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 65756 invoked by uid 89); 27 Jan 2016 12:41:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,XPRIO autolearn=no version=3.3.2 spammy=HImportance:normal, rmdir, repos, chmod X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.17.21) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 27 Jan 2016 12:41:37 +0000 Received: from [217.7.72.1] by 3capp-gmx-bs63.server.lan (via HTTP); Wed, 27 Jan 2016 13:41:34 +0100 MIME-Version: 1.0 Message-ID: From: "Rainer Blome" To: cygwin@cygwin.com Subject: git clone fails with: error: chmod on config.lock failed: Invalid argument Content-Type: text/plain; charset=UTF-8 Date: Wed, 27 Jan 2016 16:34:00 -0000 Sensitivity: Normal X-UI-Out-Filterresults: notjunk:1;V01:K0:sh4kIKr0fh0=:L87L8pcD0/lul5Mzs2n3Sl JpNmA77vWcVeaNP9sD9HNub3+Ng0IoXiIVWPBD51jEaRWtpjrelCzcRh6+KdDhRF/tM1dWLC6 icVNOEk0lqtxWIYVo2JM9gkc3l4Y4+5J98UThHShEnK7EBiOO/X0m7AdImcUNtUoS4+8BwW5m JlrXkmq60lPBS7zHWmwYtbu1cKF48ltgFCuzptKSTYZZ8Ev3RNOdkkPstaa+MdgeFLrO8/sa0 s+oxRHOLuXjluWwZ0bslY7JGp6fBeYUOCd3HuFjZOxNjhobyM7yPrC9VvxD8VXhGKM1q7w1p2 wM5b7MXGpbuZjixLoEVSPuClOA71bQkCp/i6MvIntKLzisA9OUKMpF8EBRMJZBbXM6isITPpN Afu62ksM1OedQYlhFgrwyXbTD7UEwDvXWuRe/7d4Oj8pogmx7SA3CXkJ1BL2JKqG9fP8OL1b2 NvJWwKdvLw== X-SW-Source: 2016-01/txt/msg00388.txt.bz2 Hi! When I use "git clone foo bar" on a Linux host, it works as expected. git clone foo bar Cloning into 'bar'... done. When I use the same command on my Cygwin 64 installation, this used to work, but does not work any more. I can fetch and otherwise use Git in existing repos all right (have not noticed anything else amiss), but the clone command fails like this: ---- cd /cygdrive/c/base git clone foo bar Cloning into 'bar'... error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid argument error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid argument error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid argument error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid argument error: chmod on /cygdrive/c/base/bar/.git/config.lock failed: Invalid argument fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ---- Directory `bar` exists neither before nor after the attempted cloning. In the parent directory, manually creating a subdirectory works as expected: /cygdrive/c/base> mkdir bar; ls -ld bar; rmdir bar drwx------+ 1 username 123 0 Jan 27 13:13 bar The issue is not restricted to local cloning, the same messages are printed when I attempt to clone from a remote host (from which I can clone just fine from a Linux client). Searching the internet for "cygwin git error chmod on config.lock failed: Invalid argument" gave not useful results. I first noticed the issue after having upgraded to Cygwin 2.4.0-1. Juding from the directory creation times in `base`, it looks like the last successful clone happened on 2015-07-28. I do not know which version of Cygwin I used at that time, I update roughly once a month. Today, I upgraded to 2.4.1-1, the issue persists. I tried downgrading git from 2.7 to 2.6 via the installer. The issue persisted, so I rolled forward again, the issue persisted. How can I troubleshoot this further? Rainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple