write rights to log directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Vineyard |
Fix Released
|
Medium
|
Christian Dannie Storgaard |
Bug Description
Currently the programs are run with two log files (output+errors), written into tmp dir ("/tmp/python-wine" if I recall correctly). This creates a problem with multiple users:
1) log into one user, run some programs via vineyard
2) relog into a second user without turning off the machine (so the /tmp dir won't be cleared)
3) try to run a program via vineyard - it will fail on start with IOError (no write rights to the log dir)
The quick-and-dirty solution is of course to create the log dir in /tmp with 777 rights, a nicer solution would be IMHO to change the path somewhere into user's home dir, for example "~/.vineyard/
Or maybe it *is* configurable and I just did not notice that ;)
description: | updated |
Changed in vineyard: | |
status: | Fix Committed → Fix Released |
Good catch, hadn't thought about that.
I think the solution will be to rename the /tmp/python-wine folder to /tmp/python- wine-$UID (or similar, I'm not that happy with "python-wine"). Does that sound fine?
The reason I'm sticking to /tmp is that Vineyard doesn't clean up log files, so I don't want to risk filling the home dir with "spam".