Hello, I am running an OpenIndiana server exporting a ZFS share over CIFS to a number of Windows 7 clients. I have a folder on the share with these ACLs: A:fi:OWNER@:rwaDdtTnNcoy A:dg:Domain [email protected]:rwaDdxtTnNcoy A:fig:Domain [email protected]:rwaDdtTnNcoy A:fig:GROUP@:rtncy A::OWNER@:rwaxtTnNcCoy A:g:GROUP@:rwaxtncy A::EVERYONE@:tncy
I have two files in this folder with the following ACLs set on them: file1.txt: A:g:Domain [email protected]:rwadtTnNcoy A::OWNER@:rwatTnNcCoy A:g:GROUP@:rwatncy A::EVERYONE@:tncy file2.txt: A:g:Domain Users@domain:rwadtTnNcoy A::OWNER@:rwatTnNcCoy A:g:GROUP@:rwatncy A::EVERYONE@:tncy >From a Windows 7 client, if I use cygwin's version of cp to copy these files into a subdirectory, the permissions change: mkdir subdir1 cp file*.txt subdir1 subdir1/file1.txt: A::[email protected]:rwadtTnNcCoy A:g:Domain [email protected]:rtncy A::OWNER@:rwatTnNcCoy A:g:GROUP@:rtncy A::EVERYONE@:tncy subdir1/file2.txt: D::OWNER@:r D::[email protected]:r A::[email protected]:dtTcCoy A:g:Domain [email protected]:rtncy A::OWNER@:watTnNcCoy A:g:GROUP@:rtncy A::EVERYONE@:tncy 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. Thanks, Andrew Martin
cygcheck.out
Description: Binary data
-- 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

