Comment 8 for bug 909189

Revision history for this message
newbuntu (dsglass) wrote :

Okay, thanks. Just for clarification, do such temporary files need to be generated randomly? There are 2 files I am specifically concerned about. These are the files which play the actual alarms (ie, the alarms are executable bash scripts called by /usr/bin/wakeup):

1. ~/.wakeup/playable_tmp: this is generated by wakeup-settings via alarm.py and is made executable, but is never run with elevated access. It is deleted as soon as the wakeup-settings window is closed. Does this have to have a random file name?
2. ~/.wakeup/alarm[#]/playable_text: this is also generated by wakeup-settings via alarm.py and made executable, but is run from cron, either root's or user's depending on whether the boot-for-alarm option is checked. This must be generated in a random file every time the alarm is run?