delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:message-id:in-reply-to:references | |
:subject:mime-version:content-type:content-transfer-encoding; q= | |
dns; s=default; b=CJX8aucTt117d+2IPqcKwp1qEspQqcwJx/DaOrzXwT4BgE | |
Sgw0F/9K2EHfVjUMtWEeSw2rioKfOhnvJYLfhgxZEMu2onQhbZozdDNMPvxQbd9r | |
NBuH7pIYMXQQQwWPf51nmog66ZtjwdH6Uifa4QQBn2ivnScp8//A0wF2gVzmc= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:message-id:in-reply-to:references | |
:subject:mime-version:content-type:content-transfer-encoding; s= | |
default; bh=f6hI2OlgSD95BgF8gPp0mYDoIKM=; b=JkCIYZaswenFDtJzhIcZ | |
jfWHtpoNRiMZNSPav0rvHe85K9vlrxzTBHESlOkQoXnm9J3R5Pa+QYOGCQ52uc3Z | |
KGsv2NDfIbSpYLstcWjU//OBLvfxM3p5XFalF7KPFgug0SUfcGH2k4jm6+vXCqYC | |
760mG/hRTWPzk/K0RjbNm8A= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | xes-mad.com |
Date: | Tue, 14 Jul 2015 10:20:19 -0500 (CDT) |
From: | Andrew Martin <amartin AT xes-inc DOT com> |
To: | cygwin AT cygwin DOT com |
Message-ID: | <910811632.105280.1436887219586.JavaMail.zimbra@xes-inc.com> |
In-Reply-To: | <409737149.20150625045255@yandex.ru> |
References: | <1371472352 DOT 387936 DOT 1435165195932 DOT JavaMail DOT zimbra AT xes-inc DOT com> <1348820798 DOT 402815 DOT 1435165875510 DOT JavaMail DOT zimbra AT xes-inc DOT com> <409737149 DOT 20150625045255 AT yandex DOT ru> |
Subject: | Re: Cygwin "cp" changes ACLs on files accessed via CIFS |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
----- Original Message ----- > From: "Andrey Repin" <anrdaemon AT yandex DOT ru> > To: "Andrew Martin" <amartin AT xes-inc DOT com>, cygwin AT cygwin DOT com > Sent: Wednesday, June 24, 2015 8:52:55 PM > Subject: Re: Cygwin "cp" changes ACLs on files accessed via CIFS > > Greetings, Andrew Martin! > > > Performing the same operation from Windows Explorer or using the GnuWin32 > > version of cp preserves the correct permissions. Has anyone observed this > > incorrect behavior when using cygwin cp, or do you have any ideas on how to > > fix > > this problem? I have also tried "cp -p" as well as "cp --no-preserve=all" > > but > > the problem still exists. > > If you're not using Cygwin's 'noacl' mount flag for your NFS's, this is to be > expected. > You can force that flag for all directories outside Cygwin root by > /etc/fstab: > > none /cygdrive cygdrive noacl,binary,posix=0 0 0 > > Hi Andrey, Thanks for this helpful response - I added noacl to /etc/fstab and now cygwin's "cp" is working as expected on the share! Thanks again, Andrew -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |