After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345018 - way for normal user to override /tmp/dogtail
way for normal user to override /tmp/dogtail
Status: RESOLVED INVALID
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-15 15:16 UTC by Andrew Cagney
Modified: 2006-06-15 18:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Cagney 2006-06-15 15:16:39 UTC
Please describe the problem:
Dogtail uses /tmp/dogtail as its working directory (this can be changed but requires root to edit /usr/<SOMETHING>>).

Can a command-line option be added so that a normal user can specify the directory within which to work.  That way multiple accounts can run dog tail without any possibility of interference.  For batch based build systems, this would also allow the specification of a working directory within the build tree (makes cleaning up easier).

(I also wonder if the default should be /usr/dogtail.PID)

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Andrew Cagney 2006-06-15 15:17:45 UTC
Downstream frysk bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=2778
Comment 2 Zack Cerza 2006-06-15 18:52:25 UTC
Actually, you can change the directories that dogtail uses quite easily:

import os
from dogtail.config import config
config.scratchDir = os.path.join(os.environ['HOME'], 'dogtail')
config.logDir = os.path.join(config.scratchDir, 'logs')
config.dataDir = os.path.join(config.scratchDir, 'data')

This will put everything in ~/dogtail/ . It also creates the directories.

I thought I had documented this, but it seems I neglected to. I just did, though, in CVS.