On Wed, Jun 11, 2008 at 10:18:29AM +0200, Yann Dirson (Debian) wrote:

> Dogtail systematically create logfiles in /tmp/dogtail/.  The 1st user to
> run a script using dogtail (including the sniff gui) wins, and no other
> user can use dogtail any more until that dir is manually removed.

The path for logfiles and datafiles can be set using the scratchDir,
logDir and dataDir in any configuration file.

However, using a (partially predictable) default under /tmp can lead to
security issues, so here I propose a patch to change the default to:

$HOME/dogtail/

if the HOME environment variable is defined, and to

/tmp/dogtail-<username>/

if the HOME variable is not set.

Just my 0.02${CURRENCY}.

Ludovico
-- 
<[EMAIL PROTECTED]>        #acheronte (irc.freenode.net) ICQ: 64483080
GPG ID: 07F89BB8          Jabber: [EMAIL PROTECTED] Yahoo: gardenghelle
-- This is signature nr. 4524



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to