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 us...@domain.com:rwaDdxtTnNcoy
A:fig:Domain us...@domain.com: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 us...@domain.com: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::amar...@domain.com:rwadtTnNcCoy
A:g:Domain us...@domain.com:rtncy
A::OWNER@:rwatTnNcCoy
A:g:GROUP@:rtncy
A::EVERYONE@:tncy

subdir1/file2.txt:
D::OWNER@:r
D::amar...@domain.com:r
A::amar...@domain.com:dtTcCoy
A:g:Domain us...@domain.com: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 -a" as well as "cp --no-preserve=all" but
the problem still exists.


Thanks,

Andrew Martin

_______________________________________________
openindiana-discuss mailing list
openindiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to