2011-09-01 06:40:54 |
Krzysztof Sikorski |
description |
Currently the wine program is 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/logs/".
Or maybe it *is* configurable and I just did not notice that ;) |
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/logs/".
Or maybe it *is* configurable and I just did not notice that ;) |
|