Rob Jarratt (MCS UK) wrote: > > > I am using WiX 2.0.4820 and I am trying to use the Permission element > inside a FileShare element to set the share's permissions to be "Change" > (as seen when you view share permissions in Windows Explorer). I have > tried various combinations of attributes but cannot get anything to work > except GenericAll which comes out as Full Control. > > Can anyone tell me how to set the permissions to get Change permissions on > a share? >
It's a little difficult to follow where you've got to with this problem when you don't clean-up the message chain a bit, http://www.nabble.com/FileShare-Permissions---How-to-set-Change-td15501227.html. That said, it appears that the FileShare\Permission element is working as advertised and the problem is actually the share permissions dialog that is being a bit pedantic, the following examples clearly set the ace on TestFileShare, but don't show anything on the share's permissions dialog. <Permission User='Everyone' ChangePermission="yes"/> Security Descriptor Owner: Administrators Trustee Name : Everyone Trustee SID : {1,1,0,0,0,0,0,1,0,0,0,0} Ace Flags : OBJECT_INHERIT, CONTAINER_INHERIT Access Masks : Write ACL <Permission User='Everyone' ChangePermission="yes" GenericRead="yes" /> Security Descriptor Owner: Administrators Trustee Name : Everyone Trustee SID : {1,1,0,0,0,0,0,1,0,0,0,0} Ace Flags : OBJECT_INHERIT, CONTAINER_INHERIT Access Masks : Read, Synchronize, Read extended attributes, Read attributes, Read security, Write ACL The GenericWrite attribute also works. I guess you can't always believe what you see! Also note that the 'Change' entry on the permissions dialog refers to files, equivalent to GenericWrite, which is probably what you meant anyway, there is nothing on the permissions dialog to reflect the ChangePermission attribute. -- View this message in context: http://www.nabble.com/FileShare-Permissions---How-to-set-Change-tp15501227p15601813.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users