Re: [WiX-users] Meaning of Light's -sacl?

2010-08-13 Thread Neil Sleightholm
The only time I have seen is in a locked down corporate environment when I only 
have Modify rights to a share.
 
Neil
 
Neil Sleightholm
X2 Systems Limited
n...@x2systems.com mailto:n...@x2systems.com 
 



From: Nick Ramirez [mailto:nickra...@hotmail.com]
Sent: Thu 12/08/2010 21:30
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Meaning of Light's -sacl?




Thanks Neil. I've been trying out different scenarios with sending the output
of my MSI build to a network share and viewing the permissions of the MSI.
But I must be missing something. Do you have an example of the permissions
problem?
--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Meaning-of-Light-s-sacl-tp5416423p5417732.html
Sent from the wix-users mailing list archive at Nabble.com.

--
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Meaning of Light's -sacl?

2010-08-12 Thread Nick Ramirez

Can anyone tell me when you would use Light's -sacl flag?

I found this post:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LGHT1032-Unable-to-reset-acls-on-destination-files-td689045.html#a689046

but I don't understand it. Is this flag used when sending the output of a
WiX build to a network share?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Meaning-of-Light-s-sacl-tp5416423p5416423.html
Sent from the wix-users mailing list archive at Nabble.com.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Meaning of Light's -sacl?

2010-08-12 Thread Neil Sleightholm
If you are building on a network drive you will often find it can't set 
permissions on the file when it finishes building. I have to say I am not sure 
why it needs to reset permissions. 

Neil

Neil Sleightholm
n...@x2systems.com

On 12 Aug 2010, at 16:08, Nick Ramirez nickra...@hotmail.com wrote:

 
 Can anyone tell me when you would use Light's -sacl flag?
 
 I found this post:
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/LGHT1032-Unable-to-reset-acls-on-destination-files-td689045.html#a689046
 
 but I don't understand it. Is this flag used when sending the output of a
 WiX build to a network share?
 -- 
 View this message in context: 
 http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Meaning-of-Light-s-sacl-tp5416423p5416423.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 --
 This SF.net email is sponsored by 
 
 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Meaning of Light's -sacl?

2010-08-12 Thread Nick Ramirez

Thanks Neil. I've been trying out different scenarios with sending the output
of my MSI build to a network share and viewing the permissions of the MSI.
But I must be missing something. Do you have an example of the permissions
problem?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Meaning-of-Light-s-sacl-tp5416423p5417732.html
Sent from the wix-users mailing list archive at Nabble.com.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Meaning of Light's -sacl?

2010-08-12 Thread Nick Ramirez

Okay. Now I see what you mean. I can see how the -sacl flag affects the
output MSI. I followed these steps:

1. Create a folder to send the output of the build to, call it something
like Output
2. Set the permissions on that folder to not inherit their permissions from
the parent folder and then set some restrictive permissions, like giving
only Read access to the System user
3. Build the MSI and output it to that folder
4. Check the MSI's permissions. Without the -sacl flag, it should have
picked up the restrictive permissions of the Output folder
5. Add the -sacl flag and rebuild. Now, the output MSI has unrestricted
privileges because Light needs that to copy/move files around during the
binding phase. -sacl means that instead of returning things back to normal
when it's done, Light skips that step and the file ends up keeping the
unrestricted permissions

I suppose one might use -sacl when the permissions on the output folder
(maybe a network share) are way too restrictive?
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Meaning-of-Light-s-sacl-tp5416423p5418654.html
Sent from the wix-users mailing list archive at Nabble.com.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users