Cygwin "cp" changes ACLs on files accessed via CIFS
Andrew Martin
amartin@xes-inc.com
Tue Jul 14 15:20:00 GMT 2015
----- 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
More information about the Cygwin
mailing list