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">&lt;<a href="mailto:mrrooster@gmail.com">mrrooster@gmail.com</a>&gt;</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 &lt;<a href="mailto:ganassa@gmail.com">ganassa@gmail.com</a>&gt; wrote:<br>

&gt;&gt; Date: Sun, 12 Feb 2012 15:51:45 +0100<br>
&gt;&gt; From: ganassa &lt;<a href="mailto:ganassa@gmail.com">ganassa@gmail.com</a>&gt;<br>
</div>[snip]<br>
<br>
Apologies if this is slightly off topic....<br>
<div class="im">&gt;&gt; &gt;<br>
&gt;&gt; &gt; It looks like I don&#39;t have permission to do that. Let&#39;s try with sudo:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; $ sudo echo 0 &gt; /sys/class/rtc/rtc0/wakealarm<br>
&gt;&gt; &gt; -bash: /sys/class/rtc/rtc0/wakealarm: Permission denied<br>
&gt;&gt; &gt;<br>
<br>
</div>Just FYI, what you are doing here is running &#39;echo 0&#39; 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>