Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Eliminate the vibrating iCal alarm clock' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Eliminate the vibrating iCal alarm clock
Authored by: jace on Nov 15, '06 01:01:15AM

Please note that using 'sudo echo "" > alarmclock.mov' isn't going to work, because you'll not have permission to write to the file (sudo only affects echo).

Instead, use 'sudo touch alarmclock.mov' (without the quotes).



[ Reply to This | # ]
Eliminate the vibrating iCal alarm clock
Authored by: stephb on Nov 15, '06 03:44:41PM

Actually, it does work (at least on my computer). The permissions for the files are:

-rw-rw-r-- 1 root admin 1B Nov 7 09:33 alarmclock.mov

Also, using touch will not provide a replacement file with those permissions. That may or may not be important, but it seemed prudent to me to maintain the original permissions.



[ Reply to This | # ]
touch is not the answer
Authored by: aardvarko on Jan 08, '08 12:51:19PM

That doesn't work either. Using "touch" on a file that already exists just updates its modtime to the current time. It only creates empty files if you specify a file that doesn't exist.



[ Reply to This | # ]