<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>What is a &amp;quot;LUA Bug&amp;quot;?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx</link><description>Not every "access denied" indicates a LUA bug!</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#525534</link><pubDate>Mon, 06 Feb 2006 12:05:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525534</guid><dc:creator>larso</dc:creator><description>I agree that it should not be up to a unprivileged user to change the system time, but it should be possible to change the time zone. Changing time zone should not change the system time (which should be in UTC), but should change the local time presented to the user, based on UTC, time zone and summer time changes.</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#525563</link><pubDate>Mon, 06 Feb 2006 13:51:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525563</guid><dc:creator>Keith Pawson</dc:creator><description>That's a good point Aaron - System time is probably one of the features that has turned people off with running as LUA. They usually don't understand Kerberos and why this has been restricted. I'm sure a better pop-up message box and read-only display would be very welcomed by all.&lt;br /&gt;&lt;br /&gt;Perhaps Vista will also have other more user friendly message boxes :)</description></item><item><title>Interesting Finds</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#525631</link><pubDate>Mon, 06 Feb 2006 16:21:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525631</guid><dc:creator>Jason Haley</dc:creator><description /></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#525689</link><pubDate>Mon, 06 Feb 2006 17:50:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525689</guid><dc:creator>Aidan Corey</dc:creator><description>I don't think that changing the time (or timezone) is the primary use case for the Date/Time applet.&lt;br /&gt;&lt;br /&gt;It's a pop-up calendar, for working out what day of the week the 17th will be, or what the time is in another timezone. &amp;nbsp;It should be capable of doing this without requiring rights to change the clock (or timezone).</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#525720</link><pubDate>Mon, 06 Feb 2006 18:21:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525720</guid><dc:creator>Aaron Margosis</dc:creator><description>Aidan: &amp;nbsp;actually, its original purpose was explicitly to set the date, time and time zone. &amp;nbsp;(See &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/oldnewthing/archive/2005/06/21/431054.aspx"&gt;http://blogs.msdn.com/oldnewthing/archive/2005/06/21/431054.aspx&lt;/a&gt;) &amp;nbsp;People started using it for reference, or to watch the cool time zone map (remember when it used to draw a highlight over the selected zone? &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/oldnewthing/archive/2003/08/22/54679.aspx"&gt;http://blogs.msdn.com/oldnewthing/archive/2003/08/22/54679.aspx&lt;/a&gt;).</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#525877</link><pubDate>Mon, 06 Feb 2006 21:40:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:525877</guid><dc:creator>LUAcrazy</dc:creator><description>Great stuff Aaron!!&lt;br /&gt;&lt;br /&gt;I have been wrestling with LUA issues for some time now. Mostly, trying to help admin an SBS2003 domain while trying to keep all the WinXP desktop users running with LUA. &lt;br /&gt;&lt;br /&gt;As was stated, Quickbooks was a big pain (why do they need full access to the HKCR registry?), although Intuit has a list of privileges required, so I was at least able to get the LUA users running with Quickbooks by setting elevated privilege workarounds for users of that app.&lt;br /&gt;&lt;br /&gt;My latest pain seems to be finding work-arounds so the LUA users can use camera and printing software (i.e Kodak Easyshare, HP, Epson, etc.). There are users that need to use these apps for capturing and printing photos.&lt;br /&gt;&lt;br /&gt;Also, please provide some pointers for XP Home LUA (trying to get home computers locked down). In WinXp Pro, it is relatively easy to elevate user privileges to specific folders, files, and registry keys as workarounds for LUA users. However, in XP Home I can't find a way to do this.&lt;br /&gt;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#528373</link><pubDate>Thu, 09 Feb 2006 10:09:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:528373</guid><dc:creator>Aaron Margosis</dc:creator><description>LUACrazy:&lt;br /&gt;&lt;br /&gt;I'm not familiar with the specific issues that Kodak, HP, Epson, etc. cause. &amp;nbsp;Have you contacted the vendors?&lt;br /&gt;&lt;br /&gt;[No help there - but a helpful tip coming in the next paragraph...]&lt;br /&gt;&lt;br /&gt;Re the last issue you raise: &amp;nbsp;Windows Explorer offers splendid ACL editors in the Properties dialogs for folders and files - the &amp;quot;Security&amp;quot; tab, which is normally not shown in Home Edition. &amp;nbsp;The &amp;quot;Security&amp;quot; tab does appear if you boot in SAFE MODE.</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#528908</link><pubDate>Fri, 10 Feb 2006 00:41:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:528908</guid><dc:creator>Mike Stoltzfus</dc:creator><description>Aaron - I was convinced about use LUA during your session at TechEd this past year. &amp;nbsp;Thanks for preaching this - it helps me sleep a little easier at night.&lt;br /&gt;&lt;br /&gt;One issue I've had is that various warning messages displayed in Internet Explorer 6 do not disappear even if a LUA user checks the box that says &amp;quot;In the future, do not show this message&amp;quot;. &amp;nbsp;I've been searching for a solution for this, but have come up empty. &amp;nbsp;Any thoughts?</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#528919</link><pubDate>Fri, 10 Feb 2006 00:57:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:528919</guid><dc:creator>Aaron Margosis</dc:creator><description>Mike Stoltzfus - I haven't seen that problem. &amp;nbsp;There is at least one dialog I know of that doesn't offer the &amp;quot;in future&amp;quot; checkbox, but the ones that do always obey, as far as I can tell. &amp;nbsp;If you're running IE using the &amp;quot;Protect my computer&amp;quot; option, then they probably won't stick. &amp;nbsp;Which dialogs are disobeying you?</description></item><item><title>Fixing &amp;amp;quot;LUA bugs&amp;amp;quot;, Part I</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#533078</link><pubDate>Thu, 16 Feb 2006 11:49:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:533078</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>A systematic approach for working around LUA bugs that avoids unnecessary exposure</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#533818</link><pubDate>Fri, 17 Feb 2006 05:40:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:533818</guid><dc:creator>Mike Stoltzfus</dc:creator><description>Aaron - It must be the &amp;quot;Protect my Computer&amp;quot; option, because when I run as a limited user, they don't obey the checkbox. &amp;nbsp;(Showing a little ignorance here:) What exactly is the &amp;quot;Protect my Computer&amp;quot; option? &amp;nbsp;Is that something set through group policy?</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#533820</link><pubDate>Fri, 17 Feb 2006 05:45:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:533820</guid><dc:creator>Aaron Margosis</dc:creator><description>Mike Stoltzfus - Setting &amp;quot;Protect my computer&amp;quot; will prevent the program from writing to HKEY_CURRENT_USER in the registry, and will prevent even *reading* from your Docs&amp;amp;Settings folder in the file system. &amp;nbsp;Some more info here:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/aaron_margosis/archive/2004/09/10/227727.aspx"&gt;http://blogs.msdn.com/aaron_margosis/archive/2004/09/10/227727.aspx&lt;/a&gt;</description></item><item><title>Table of contents, Aaron Margosis' non-admin blog</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#533832</link><pubDate>Fri, 17 Feb 2006 06:31:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:533832</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>Complete list of Aaron Margosis' non-admin / least privilege posts, for easy lookup.</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#554215</link><pubDate>Sat, 18 Mar 2006 04:15:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:554215</guid><dc:creator>ML</dc:creator><description>I'm having trouble accessing Works 8 calendar as under LUA. &amp;nbsp;Any work around for this?</description></item><item><title>lua internet problems</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#560438</link><pubDate>Sat, 25 Mar 2006 02:16:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:560438</guid><dc:creator>trebor</dc:creator><description>i have a friend who's internet doesn't work when on a lua..but it does for the admin account. &amp;nbsp;as far as i know, they have changed no other settings for this to happen, but it does. &amp;nbsp;any ideas would be great! thanks!</description></item><item><title>Fixing &amp;amp;quot;LUA Bugs&amp;amp;quot;, Part II</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#562093</link><pubDate>Mon, 27 Mar 2006 19:34:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:562093</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>A systematic approach for working around LUA bugs that avoids unnecessary exposure - &amp;amp;quot;the rest of the story&amp;amp;quot;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#563091</link><pubDate>Tue, 28 Mar 2006 18:30:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:563091</guid><dc:creator>Aaron Margosis</dc:creator><description>ML - was the calendar created by a different account from your LUA account? &amp;nbsp;If so, permissions need to be changed on the calendar file.</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#582509</link><pubDate>Tue, 25 Apr 2006 02:05:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582509</guid><dc:creator>D Robinson</dc:creator><description>I am having a LUA problem - mine is when i log into a LUA, i get a &amp;quot;fAIL&amp;quot; error message, yet it still loads. &amp;nbsp;I changed this account to an Admin and it loads without the fAIL message.&lt;br&gt;&lt;br&gt;It seems to be just an annoyance - but i would like to get rid of it.&lt;br&gt;&lt;br&gt;I was told by others to take the system back to the factory defaults, but was hoping someone here had a &amp;quot;better&amp;quot; suggestion....&lt;br&gt;&lt;br&gt;any suggestions? &amp;nbsp;oh, I am familiar with the registry and also periodically back up my system&lt;br&gt;&lt;br&gt;thanks, in advance...</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#582613</link><pubDate>Tue, 25 Apr 2006 04:53:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:582613</guid><dc:creator>Aaron Margosis</dc:creator><description>D Robinson - from what you're describing, it sounds as though there is a program that automatically starts when you log on that has a LUA bug. &amp;nbsp;The best tool for identifying &amp;quot;autostart&amp;quot; programs is Autoruns from sysinternals.com - that will help you narrow down the cause: &amp;nbsp;&lt;a rel="nofollow" target="_new" href="http://www.sysinternals.com/Utilities/Autoruns.html"&gt;http://www.sysinternals.com/Utilities/Autoruns.html&lt;/a&gt;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#584202</link><pubDate>Wed, 26 Apr 2006 18:13:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:584202</guid><dc:creator>James Cannon</dc:creator><description>The whole date and time issue can be resolved with DesktopStandard Tools (www.desktopstandard.com) , I have been using them for over a year now, they are the easiest and simple solution to all the LUA problems I have had. Sounds like a plug, but I have really been impressed with them so thought I would share my experiences</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#584215</link><pubDate>Wed, 26 Apr 2006 18:27:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:584215</guid><dc:creator>Aaron Margosis</dc:creator><description>James Cannon - I talk about DesktopStandard in &amp;quot;Fixing LUA Bugs, Part II&amp;quot; - you should read that. &amp;nbsp;I also published a simpler solution to the date/time issue.&lt;br&gt;&lt;br&gt;Fixing LUA Bugs, Part II:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/aaron_margosis/archive/2006/03/27/562091.aspx"&gt;http://blogs.msdn.com/aaron_margosis/archive/2006/03/27/562091.aspx&lt;/a&gt;&lt;br&gt;&lt;br&gt;Changing the system date, time and/or time zone:&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/aaron_margosis/archive/2005/02/11/371474.aspx"&gt;http://blogs.msdn.com/aaron_margosis/archive/2005/02/11/371474.aspx&lt;/a&gt; &lt;br&gt;&lt;br&gt;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#588266</link><pubDate>Tue, 02 May 2006 14:06:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:588266</guid><dc:creator>Anthony C</dc:creator><description>trebor: &amp;nbsp;I had the same problem a while ago. &amp;nbsp;Pre &amp;nbsp;Service Pack 2 I think. &amp;nbsp;If I remember correctly it affected me on LAN provided 'net access, and dial-up seemed fine. &amp;nbsp;I discovered that non-IE based programs worked under LUA.&lt;br&gt;&lt;br&gt;Anthony</description></item><item><title>Changing access control on folders vs. files</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#638149</link><pubDate>Tue, 20 Jun 2006 05:16:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:638149</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>More info on the risks of changing access control lists to fix LUA bugs.</description></item><item><title>JEDI  &amp;raquo; Blog Archive   &amp;raquo; links for 2006-07-26</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#678822</link><pubDate>Wed, 26 Jul 2006 13:19:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:678822</guid><dc:creator>JEDI  » Blog Archive   » links for 2006-07-26</dc:creator><description>PingBack from &lt;a rel="nofollow" target="_new" href="http://www.jedi.be/blog/2006/07/26/links-for-2006-07-26/"&gt;http://www.jedi.be/blog/2006/07/26/links-for-2006-07-26/&lt;/a&gt;</description></item><item><title>LUA Buglight public [pre]-release</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#691412</link><pubDate>Tue, 08 Aug 2006 00:00:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:691412</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>&amp;amp;quot;Why does Application XYZ need to run as admin?&amp;amp;quot;</description></item><item><title>Changing permissions on your %windir%</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#741572</link><pubDate>Tue, 05 Sep 2006 23:14:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:741572</guid><dc:creator>The things that are better left unspoken</dc:creator><description>One way of coping with the challenges corresponding with &amp;amp;quot;the principle of least administrative privilege&amp;amp;quot;</description></item><item><title>Changed permissions on your %windir%</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#742284</link><pubDate>Wed, 06 Sep 2006 08:39:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:742284</guid><dc:creator>The things that are better left unspoken</dc:creator><description>On the second Tuesday of the month Microsoft introduces updates for it&amp;amp;amp;#39;s products. As a system administrator</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#1311467</link><pubDate>Sun, 17 Dec 2006 19:03:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1311467</guid><dc:creator>John Bokma</dc:creator><description>&lt;p&gt;An upgrade to the well known vector drawing program Xara Xtreme (which has minor issues with limited user rights) has been released which just doesn't run with limited user rights, see: &lt;a rel="nofollow" target="_new" href="http://johnbokma.com/mexit/2006/12/11/xara-xtreme-pro-crippled.html"&gt;http://johnbokma.com/mexit/2006/12/11/xara-xtreme-pro-crippled.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A drawing program that requires Administrator rights for making a simple drawing.&lt;/p&gt;
&lt;p&gt;I contacted Xara, but other things have higher priorities, and it's unsure when this will be fixed. Since the minor issues with Xara Xtreme regarding limited user rights have been reported over a year ago I am not going to hold my breath.&lt;/p&gt;
&lt;p&gt;It's a sad day when software companies release &amp;quot;Pro&amp;quot; software that just assumes that everybody is running with Administrator rights, and hence promote unsafe Windows XP usage this way.&lt;/p&gt;</description></item><item><title>Common_AppData is Readonly</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#1405004</link><pubDate>Wed, 03 Jan 2007 18:16:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1405004</guid><dc:creator>Mike O'Grady</dc:creator><description>&lt;P&gt;I suppose, like many developers, I haven't been aware of all of the issues with LUAs. However, I have recently been forced to face up to the issue by a customer who insisted that my accounts and payroll software be capable of running in a LUA. and accessible to all users.&lt;/P&gt;
&lt;P&gt;So, I revamped my code, moved the database from the Program Files directory to C:\Documents and Settings\All Users\Application Data\Company\Application. I also set the private directory for the database (for SQL results) to the same path and put the application's ini file (Yes, an ini file!!) and some temporary database tables in the same place.&lt;/P&gt;
&lt;P&gt;Ran the app from a LUA and yippee - it worked. Except... it didn't work on my customer's PC. Apparently, it gets an access error when it tries to write to the ini file. You might say that I should put the ini stuff in the Registry but, if it cannot write to the ini file it is hardly going to be able to write to the database!!&lt;/P&gt;
&lt;P&gt;I have asked the customer to try editing the ini file from the LUA and he cannot save any changes. I thought he might have inadvertently made some of the folders/files read-only, but he says that this is not the case.&lt;/P&gt;
&lt;P&gt;Any ideas on why he cannot write to the "All Users\Application Data " sub-folders would be greatly appreciated. This is the Common AppData folder. Surely all users should be able to write to it??&lt;/P&gt;
&lt;P&gt;Mike O'Grady&lt;/P&gt;
&lt;P&gt;Aquila Technology&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;Mike -- I think what's happening is because the common data folder has some interesting ACLs.&amp;nbsp; Any user can &lt;EM&gt;create&lt;/EM&gt; a file or subfolder under there, but only the user who created&amp;nbsp;a particular&amp;nbsp;object gets Full Control over it -- all other users get Read&amp;amp;Execute only.&amp;nbsp; (This is the effect of the inherited CREATOR OWNER&amp;nbsp;entry in the ACL.)&amp;nbsp; If the data files are to be shared by multiple users (I assume they are or you would just put them in the user's private folders), then I would recommend that you create the folder in which to put the data and change the ACL on it so that all authorized users are granted all necessary access to the files within.&amp;nbsp; (You should review &lt;A class="" title="Changing Access Control on Folders vs. Files" href="http://blogs.msdn.com/aaron_margosis/archive/2006/06/19/638148.aspx"&gt;this post&lt;/A&gt; regarding the risks of shared data areas.)&lt;/P&gt;
&lt;P&gt;You mentioned "databases" and "SQL".&amp;nbsp; I assume you're referring to something &lt;EM&gt;other than &lt;/EM&gt;SQL Server or related technologies like MSDE.&amp;nbsp; If you &lt;EM&gt;are &lt;/EM&gt;referring to a database technology that uses a service, then you don't need to put those data files in the common app folder, since users do not interact directly with the data file(s) but instead with the service.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;-- Aaron&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#1557496</link><pubDate>Tue, 30 Jan 2007 18:02:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1557496</guid><dc:creator>David Williams</dc:creator><description>&lt;P&gt;I did the same thing as Mike O'Grady with the same results. Upon calling Microsoft support, I was told to put any fully shared data into C:\Public (also known as C:\Users\Public). This works without any need for changing ACL or any user administration. However, there is no CSIDL lookup for Public. This makes me concerned that using this folder is not officially supported. Any comment on using C:\Public over C:\ProgramData (which apparently is an alias for C:\Documents and Settings\All Users\Application Data and can be looked up using CSIDL_COMMON_APPDATA)?&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;David:&amp;nbsp; There isn't a C:\Public, but there is a C:\Users\Public.&amp;nbsp; That will get you the default ACL you want, but those folders are really for items that users can browse/discover/interact with directly, rather than ProgramData which is intended for programs to manage.&amp;nbsp; I would expect the better recommendation would still be to create a custom folder in the app-data folder and set its ACL appropriately.&lt;/P&gt;
&lt;P&gt;For the CSIDL, see &lt;A class="" href="http://blogs.msdn.com/vistacompatteam/archive/2007/01/30/shgetknownfolderpath-and-the-knownfolderid.aspx"&gt;this post&lt;/A&gt; and follow its links.&amp;nbsp; The relevant ID is FOLDERID_Public.&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;-- Aaron&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>Changing access control on folders vs. files</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#1686591</link><pubDate>Fri, 16 Feb 2007 05:14:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1686591</guid><dc:creator>Aaron Margosis' WebLog</dc:creator><description>&lt;p&gt;More info on the risks of changing access control lists to fix LUA bugs.&lt;/p&gt;
</description></item><item><title>nbtstat: LUA Bug?</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#5964873</link><pubDate>Wed, 07 Nov 2007 20:24:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5964873</guid><dc:creator>Henning Plumeyer</dc:creator><description>&lt;P&gt;nbtstat does not work for a limited user, only for admins.&lt;/P&gt;
&lt;P&gt;Is this a LUA bug? I think the option -n for example does no change to the system and does not read non-public information -- so it is a LUA bug.&lt;/P&gt;
&lt;P&gt;How can I work around this? I have tried LUA buglight (starting cmd.exe, then nbtstat -n ) but got no helpful result.&lt;/P&gt;
&lt;P&gt;With the option -a you can ask a remote system's NetBIOS name table. You need local admin rights but not on the remote machine!&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; I just tried nbtstat using (separately) -c, -r and -n.&amp;nbsp; All of them seem to work on my Vista machine.&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>nbtstat: LUA Bug?</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#5993775</link><pubDate>Thu, 08 Nov 2007 21:59:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5993775</guid><dc:creator>Henning Plumeyer</dc:creator><description>&lt;p&gt;I have tried on Windows XP and Server 2003 only.&lt;/p&gt;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#7847877</link><pubDate>Fri, 22 Feb 2008 16:37:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7847877</guid><dc:creator>Henning Plumeyer</dc:creator><description>&lt;P&gt;Problem occurs on Windows XP and Windows Server 2003:&lt;/P&gt;
&lt;P&gt;nbtstat -n&lt;/P&gt;
&lt;P&gt;Failed to access NetBT driver -- NetBT may not be loaded&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; Seems to be a LUA bug in XP and 2003:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/888373"&gt;&lt;EM&gt;http://support.microsoft.com/kb/888373&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Probably inadvertent -- those operations should work for members of the Network Configuration Operators group, but they don't.&lt;/EM&gt;&lt;/P&gt;&lt;/DIV&gt;</description></item><item><title>Registry Keys ownership...</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#8960355</link><pubDate>Sun, 21 Sep 2008 06:53:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8960355</guid><dc:creator>Richard Jenniss</dc:creator><description>&lt;p&gt;Why not install software under a user dedicated to that software? I know in some cases this is a bit much, however this could apply that when you install software all files and registry keys created are owned by that user. Rolling back system changes can be done similarly to removing a user and all their associated files &amp;amp; keys.&lt;/p&gt;</description></item><item><title>Can I get a copy of version 1.0 of LUA bug tool</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#9634086</link><pubDate>Thu, 21 May 2009 20:57:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634086</guid><dc:creator>Deepu Cherian</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can I get a copy of your tool. When I try to download, it is giving page cannot be found.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Deepu&lt;/p&gt;
&lt;p&gt;E-mail: dcherian@dlbassociates.com&lt;/p&gt;</description></item><item><title>re: What is a "LUA Bug"?  (And what isn't a LUA bug?)</title><link>http://blogs.msdn.com/aaron_margosis/archive/2006/02/06/what-is-a-lua-bug-and-what-isn-t-a-lua-bug.aspx#9634087</link><pubDate>Thu, 21 May 2009 20:58:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9634087</guid><dc:creator>Deepu Cherian</dc:creator><description>&lt;P&gt;please send me the link to download LUA tool&lt;/P&gt;
&lt;DIV class=ajmReply&gt;
&lt;P&gt;&lt;EM&gt;[Aaron Margosis]&amp;nbsp; Link to the currently published version:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/aaron_margosis/archive/2008/11/06/lua-buglight-2-0-second-preview.aspx"&gt;&lt;EM&gt;http://blogs.msdn.com/aaron_margosis/archive/2008/11/06/lua-buglight-2-0-second-preview.aspx&lt;/EM&gt;&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;</description></item></channel></rss>