GNOME Bugzilla – Bug 345018
way for normal user to override /tmp/dogtail
Last modified: 2006-06-15 18:52:25 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:
Downstream frysk bug: http://sourceware.org/bugzilla/show_bug.cgi?id=2778
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.