DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 50O9PXbT260564 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 50O9PXbT260564 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=l0jzmeh4 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 450C1385840F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1737710732; bh=t4k8YCQsoLBoIwPmpCziRRuQU8bibyUVyWQb2lqGeLA=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=l0jzmeh4u2LpjCTxr5kwHqIgqN7H6iNVpwj8Jw0Ee4tjoXypFvnL5vInAOxAnXwYs azm1sC5VyIch3XwuOcPbcWtjh7fAjQjeNVKhArgKh1Lqj3XvgwQ2nltOW3Onxh4zrt B7Gl/DOJmpig15h9k0B0ATvS2t/jc8MpXNHN9w1k= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8C8CA3858CDB ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8C8CA3858CDB ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737710607; cv=none; b=mS0ZXdPp3iNDyMVHup2Y+4mrcYbgY6KxBaPJTVaKWpbL9j+RTdDcRsx65I7X9UUTj3XqJfNM1oLe+DimXyVQSDEJe+cDNy9mn4KFSfpeWPYnElwv0f7SKKR84j4yoBzV9eQd7fjxzcov3INy6aa1uyLEaIRR983Wh3UneyC2LPc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737710607; c=relaxed/simple; bh=5cTcn4K0h7JY+v4XgvO/WBzNwEGLHBWU5K+5zQW1O+c=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=xGju2uhbyqi40c0w/edAGdivTewBRk32cdg9fLmjjCJefwbk2pFng+uj+cWfQxedDdnxm50emAAEoMsjLswtp1TzcjZtTtcpbOLrNnU5KGUJN2MbE1O956EVrYXjgKS1Zi4oQHcjJtJNlI8ZuFrBqEzp8e98tRIL1+jvUr+7Dww= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C8CA3858CDB X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737710603; x=1738315403; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HTqUphl6+X8Y4vbVM6mbONYq04+4hza5C7WFFo2KI10=; b=c7Vo1h4rDm6215XiuLPx33MVGLS4Wql2hGIOHlSTF7x9drPugX/l8SDTjN4GD0N+5o bXrSLhGUFQ4QIn/T/xoUx4kz7aSsOpl/LnEv/W2cl/H0Tp8g67Kz2hPSHumm9xQ04QAX bGW85JmHmIVAb+ZalhJIH+9UQstvzVtt4w+RG3ABoWSkVm4PY0IzmLt7JDwLnLJ0q2Ng laNrvBJu/doAwzMWpzhwSW+UyDxSNsPM1BGSfHZL0xLB8a2zzspLm3SRpcRtEQIl0jo1 9SUKg1rc4UuBhdjzmiuqIt00fuSE2n4ZpUkc+zzhnn9A32v+rVDt9IMfUIgN3l/fC+Z7 1fCw== X-Gm-Message-State: AOJu0YybZMvYWjBuhXhFiUbRqZ6hIxQGGVpgIpAwUhxmmlVGq2VHpEsZ gKgITqhJIKszl5gJHQkwLkzRKvgQY8Jv5o/kQuIieROQwpy2M6OOzR2/Pw== X-Gm-Gg: ASbGncsTy+lMok1ivTkj38YC7x3Hd7VG8ciO0q9kg1Gjc6NJbd79NYf0eQknbFkgcBw 0hGfk5quJhIm6f2PErSfDQTVxvJ+310KNTLZAmfkUd52r7rSPYcAGONXeRkbdSuHllva68Opg4W ZLLh5d+uYeFXYXCRFrCkzujmDQCd2tDZKAg/sS40i1RPs4YGr9RSuiND+DMCimpp5pCSTyla65P GDXE1Yrh6KhKHPsFXSWWbFdmAOaQFSUEXBn8AnW4nniyZn4Z2H4gNxWFhpoffmYtyIqcRgKCcg3 Kv//+Xol37kPq5nXX6Z0rqM3YZCKoU4s3LrhKDLx/8nj7M+xtHrsxUL/dTsu3sY= X-Google-Smtp-Source: AGHT+IHeNKNh8t5t6iaAMNhfGB7mpbJ+c+XqGz2gKmKPZ6qqBv34RBKF+Z7muiK+0lDQl+Rx0UKaGA== X-Received: by 2002:a05:600c:1d1d:b0:434:a4fe:cd71 with SMTP id 5b1f17b1804b1-438913d7e36mr277969135e9.12.1737710602897; Fri, 24 Jan 2025 01:23:22 -0800 (PST) Message-ID: <97ddb360-b86f-499a-8116-f72b538ca7fc@gmail.com> Date: Fri, 24 Jan 2025 10:23:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Cygwin rsync changes (acl) permissions, even when not asked to? Content-Language: en-GB To: "cygwin AT cygwin DOT com" References: <2e1ca179-aec2-420f-8a57-50e59e2b1761 AT emmenlauer DOT de> In-Reply-To: <2e1ca179-aec2-420f-8a57-50e59e2b1761@emmenlauer.de> X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 50O9PXbT260564 On 24/01/2025 09:32, Mario Emmenlauer via Cygwin wrote: > > Dear All, > > There is an an issue that plagues me when using git in Cygwin. > > I have two developer machines, one with Linux, and one with Windows. On > the Windows machine, when I clone sources with git, everything works well. > > However, when I then use rsync to copy changes from the Linux machine to > Windows, the file permissions change on all files! In turn, git complains > about a new executable permission. And chmod fails to restore the previous > state. > > Currently, the only way I found to restore a useful state, is to remove > the whole directory, and clone again from git! > > > Here are the details: > I'm using rsync options --verbose --recursive --delete which in my eyes > should not modify permissions. I clone with rsync over the already > existing, > unchanged files from git, so there should be anyways no need for rsync to > re-transfer or modify the files. > > The directory in question is a subfolder on the C: drive, which is an > NTFS-formatted NVMe. I created the parent folder as a normal user, and did > not apply any special permissions. In fstab, I leave default Cygwin > options. > > rsync is version 3.3.0, Cygwin is version 3.5.5-1. > > From acl checks, it seems that rsync would modify only one of the ACLs. > The second ACL before is "COMPANY\User:(R,W,D,WDAC,WO)", and after running > rsync is "COMPANY\User:(F)". I'm not sure what this means, but even less > I understand why rsync performs this change? > where is located this directory ? Can you provide the cygcheck.out as attachement ? see https://cygwin.com/problems.html > > All the best, > >     Mario Emmenlauer > -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple