[Slackbuilds-users] Fwd: Re: slackbuild script dangers [volkerdi at slackware.com]
dadexter at gmail.com
Sun Nov 5 12:46:21 UTC 2006
On 11/5/06, Eric Hameleers <alien at sox.homeip.net> wrote:
> Mark Flacy wrote:
> >You might find the attached email interesting. I intend to modify any
> scripts which I write according to Pat's response.
> > Mark Flacy wrote:
> >> Greetings,
> >> I can't really say this is a bug, but it has bitten me in the behind
> >> a few times. The scripts will 'cd' into /tmp, explode the source
> >> archive, 'cd' into the new source directory and then recursively
> >> chown everything in there to root.root.
> >> If, for some reason, the "explode the source archive" didn't work you
> >> end up recursively chowning *everything* in /tmp to root.root. That
> >> includes all the user-specific directories used by KDE, Gnome,
> >> ssh-agent, and so on. If you aren't root, things stop working.
> >> That's really annoying. :-)
> The SBo scripts build everything in "/tmp/SBo" which alleviates the
> potential problem quite a lot.
I also use set -e, which will halt the script on ANY errors
eMail: dadexter at gmail.com
LinuxWorldNet.Com: Linux blogs for everyone.
Visit SlackBuilds.Org for all your SlackBuild needs!
SlackBuilds.Org: LinuxPackages.Net done right.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Slackbuilds-users