I just went through this process and had to use the XCACLS.vbs _vbscript_ to edit the ACL instead of replacing it.  Not sure if that is going to be a popular answer though...


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tina Basinger
Sent: Sunday, November 12, 2006 12:44 PM
To: Wix Group
Subject: [WiX-users] Fwd: Maintaining File and Folder ACLs

Any thoughts anyone?
Thanks!
-Tina

---------- Forwarded message ----------
From: Tina Basinger <[EMAIL PROTECTED] >
Date: Nov 9, 2006 3:28 PM
Subject: Maintaining File and Folder ACLs
To: Wix Group <WiX-users@lists.sourceforge.net>

 

I have a situation where I want to maintain the file and folder ACLs from a previous install during an upgrade.   So, if any custom ACLs have been added or removed after the initial install, the upgrade will let them be.

 

The existing install sets all of the file ALCs through the Permission element.  I was thinking that if we set the Append attribute on the permission element to yes, our upgrade would be able to add to the existing settings.   I found that this seems to work fine, as long as the install is configuring all of the users with permissions.  However, if additional users have been customized to have permission to a file, and then the upgrade doesn't set permissions for that group, that group no longer has any permissions after the upgrade.

  

We also might need to support the case that no permissions are changed during an upgrade, even if the existing file doesn't have the minimal ACLs that the upgrade would set.  

  

Can anyone offer any advice on either of the above scenarios? 

  1. Is there any way to maintain and add to existing permissions, even maintaining additional users that have been given permission to the file?
  2. Is there any way to condition permissions to not be configured at all if a file already exists, but to set the permissions specified if the file doesn't exist?

 

Thanks!

-Tina


This e-mail transmission may contain information that is proprietary, privileged and/or confidential and is intended exclusively for the person(s) to whom it is addressed. Any use, copying, retention or disclosure by any person other than the intended recipient or the intended recipient's designees is strictly prohibited. If you are the intended recipient, you must treat the information in confidence and in accordance with all laws related to the privacy and confidentiality of such information. If you are not the intended recipient or their designee, please notify the sender immediately by return e-mail and delete all copies of this email, including all attachments.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to