<br><div><span class="gmail_quote">On 11/5/06, <b class="gmail_sendername">Eric Hameleers</b> &lt;<a href="mailto:alien@sox.homeip.net">alien@sox.homeip.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Mark Flacy wrote:<br><br>&gt;Greetings,<br>&gt;<br>&gt;You might find the attached email interesting.&nbsp;&nbsp;I intend to modify any scripts which I write according to Pat's response.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Mark Flacy wrote:
<br>&gt;<br>&gt;&gt; Greetings,<br>&gt;&gt;<br>&gt;&gt; I can't really say this is a bug, but it has bitten me in the behind<br>&gt;&gt; a few times.&nbsp;&nbsp;The scripts will 'cd' into /tmp, explode the source<br>&gt;&gt; archive, 'cd' into the new source directory and then recursively
<br>&gt;&gt; chown everything in there to root.root.<br>&gt;&gt;<br>&gt;&gt; If, for some reason, the &quot;explode the source archive&quot; didn't work you<br>&gt;&gt; end up recursively chowning *everything* in /tmp to 
root.root.&nbsp;&nbsp;That<br>&gt;&gt; includes all the user-specific directories used by KDE, Gnome,<br>&gt;&gt; ssh-agent, and so on.&nbsp;&nbsp;If you aren't root, things stop working.<br>&gt;&gt; That's really annoying.&nbsp;&nbsp;:-)<br>&gt;<br>The SBo scripts build everything in &quot;/tmp/SBo&quot; which alleviates the
<br>potential problem quite a lot.</blockquote><div><br>I also use set -e, which will halt the script on ANY errors<br>&nbsp;</div>-- <br></div>Martin Lefebvre<br>eMail: <a href="mailto:dadexter@gmail.com">dadexter@gmail.com</a>
<br><br>LinuxWorldNet.Com: Linux blogs for everyone.<br><br>Visit SlackBuilds.Org for all your SlackBuild needs!<br>SlackBuilds.Org: LinuxPackages.Net done right.