[mythtv-users] MythTv BE/FE go to sleep but doesn't wake up
Ian Clark
mrrooster at gmail.com
Thu Feb 16 11:42:37 UTC 2012
On 12 February 2012 17:56, ganassa <ganassa at gmail.com> wrote:
>> Date: Sun, 12 Feb 2012 15:51:45 +0100
>> From: ganassa <ganassa at gmail.com>
[snip]
Apologies if this is slightly off topic....
>> >
>> > It looks like I don't have permission to do that. Let's try with sudo:
>> >
>> > $ sudo echo 0 > /sys/class/rtc/rtc0/wakealarm
>> > -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied
>> >
Just FYI, what you are doing here is running 'echo 0' as root, but you
are using the shell to redirect the standard output to
/sys/class/rtc/rtc0/wakealarm, because the shell process is
responsible for the redirect and is running as a non root user you get
the permission denied error.
This subtlety has caught me out in the past!
Ian
More information about the mythtv-users
mailing list