<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote">I&#39;m running Mythbuntu 12.04 x64, with all storage directories pointing to directories on a NAS (Thecus N4100PRo).  <br>

I&#39;m mounting the NAS locally using NFS, with this:<br>mount -o soft,intr,rsize=8192,wsize=8192 gromit:/raid0/data/_NAS_NFS_Exports_/mythtv /mnt/nfs<br>

<br>It mounts correctly, but I am unable to play recordings because of a permission problem; the recording and png files appear as:<br>-rwxrwxrwx+ 1 mythtv mythtv 1267934040 May 15 19:44 1476_20120515193000.mpg*<br>On the NAS, the directory is exported using:<br>



&quot;Guest system root account will have full access to this share (root:root).&quot;<br><br>When I try and play these, I get a message to the effect of:<br>&quot;Recording unavailable: &lt;title&gt;&lt;subtitle&gt; The file for this recording can not be found&quot;<br>



<br>I am also unable to play these in VLC.<br><br>If I do a <br>sudo chown mythtv:users *<br>...then this fixes it.<br><br>What am I doing wrong?<br></div></blockquote><div><br>How did these files get on the NAS?  It appears that you uploaded them with the root user.  You will probably need to chown everything to start with.  New recordings by the backend should already have the right permissions... don&#39;t they?<br>

<br>If only the root user can upload to the nas at all you probably need to create a &#39;mythtv&#39; user and &#39;mythtv&#39; and/or &#39;users&#39; group on the NAS with the same UID and GID as appear on your mythbackend then assign those users/groups access to the folder on the NAS.<br>

<br>I looked up the manual for your NAS and couldn&#39;t find a way to adjust the NFS export settings... however if you find a way, there is a real easy way to ensure that files all get the right permissions, regardless of the user that creates them.  The combination of the &quot;all_squash&quot;, &quot;anonuid&quot;, and &quot;anongid&quot; says to force all connections to use the anonymous uid and gid, then specifies what that uid and gid should be.  Essentially, they create a &quot;share&quot; that sets the same uid/gid on all files saved via nfs.<br>

 <br>for example: <br>/exports/mythtv <a href="http://192.168.1.0/24(rw,insecure,sync,wdelay,no_subtree_check,nohide">192.168.1.0/24(rw,insecure,sync,wdelay,no_subtree_check,nohide</a>,<b>all_squash,anonuid=888,anongid=888</b>)<br>

</div></div>