X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@xes-inc.com>
To: cygwin@cygwin.com
Message-ID: <910811632.105280.1436887219586.JavaMail.zimbra@xes-inc.com>
In-Reply-To: <409737149.20150625045255@yandex.ru>
References: <1371472352.387936.1435165195932.JavaMail.zimbra@xes-inc.com> <1348820798.402815.1435165875510.JavaMail.zimbra@xes-inc.com> <409737149.20150625045255@yandex.ru>
Subject: Re: Cygwin "cp" changes ACLs on files accessed via CIFS
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

----- Original Message -----
> From: "Andrey Repin" <anrdaemon@yandex.ru>
> To: "Andrew Martin" <amartin@xes-inc.com>, cygwin@cygwin.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

