Reply
Thread Tools
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#11
Originally Posted by flp View Post
When i tried calling the desktop file from x-term (not in root shell) i get this error:

File "usr/bin/writetofile.py", line 5, in <module>
log = open(log_dir + "test", "a")
IOError: [Errno 13] Permission denied: '/home/user/sleepclock/logs/test'

Could this be the problem that's occurring when i try to run the script from the icon in the extras menu? And, if so, how do i fix it?
Probably a "test" file owned by root already exists, preventing your script form overwriting it when run as user.
Delete everything in the logs directory and try again.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:21.