This is the mail archive of the cygwin 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]

Re: Cygwin "cp" changes ACLs on files accessed via CIFS

----- Original Message -----
> From: "Andrey Repin" <>
> To: "Andrew Martin" <>,
> 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,


Problem reports:
Unsubscribe info:

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