Thank you Ian, now it makes sense (it happened with other sys devices in the past, now I realized why)<br><br><div class="gmail_quote">2012/2/16 Ian Clark <span dir="ltr"><<a href="mailto:mrrooster@gmail.com">mrrooster@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12 February 2012 17:56, ganassa <<a href="mailto:ganassa@gmail.com">ganassa@gmail.com</a>> wrote:<br>
>> Date: Sun, 12 Feb 2012 15:51:45 +0100<br>
>> From: ganassa <<a href="mailto:ganassa@gmail.com">ganassa@gmail.com</a>><br>
</div>[snip]<br>
<br>
Apologies if this is slightly off topic....<br>
<div class="im">>> ><br>
>> > It looks like I don't have permission to do that. Let's try with sudo:<br>
>> ><br>
>> > $ sudo echo 0 > /sys/class/rtc/rtc0/wakealarm<br>
>> > -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied<br>
>> ><br>
<br>
</div>Just FYI, what you are doing here is running 'echo 0' as root, but you<br>
are using the shell to redirect the standard output to<br>
/sys/class/rtc/rtc0/wakealarm, because the shell process is<br>
responsible for the redirect and is running as a non root user you get<br>
the permission denied error.<br>
<br>
This subtlety has caught me out in the past!<br>
<span class="HOEnZb"><font color="#888888"><br>
Ian<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>