<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><br></div><div><br>On 14 Sep 2014, at 8:57 am, "Daryl McDonald" &lt;<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 13, 2014 at 6:21 PM, Hika van den Hoven <span dir="ltr">&lt;<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hoi Daryl,<br>
<span class=""><br>
Sunday, September 14, 2014, 12:11:28 AM, you wrote:<br>
<br>
<br>
<br>
<br>
<br>
&gt; On Sat, Sep 13, 2014 at 5:30 PM, Mark Perkins &lt;<a href="mailto:perkins1724@hotmail.com">perkins1724@hotmail.com</a>&gt; wrote:<br>
<br>
<br>
&gt;<br>
&nbsp;&gt;&gt; On 14 Sep 2014, at 2:21 am, "Daryl McDonald" &lt;<a href="mailto:darylangela@gmail.com">darylangela@gmail.com</a>&gt; wrote:<br>
&nbsp;&gt;&gt;<br>
&nbsp;&gt;&gt; Greetings Mythizens, I'v added a partition of my 250 Gb drive to SD's, migrated a few directories into it and provided new paths the the BE setup storage directories. When I look at it, I'm curious about two small things:<br>
&nbsp;&gt;&gt;<br>
&nbsp;&gt;&gt; daryl@daryl-A780L3C:~$ ls -l /media<br>
&nbsp;&gt;&gt; total 12<br>
&nbsp;&gt;&gt; drwxr-xr-x+ 4 root root 4096 Sep 13 12:28 daryl&nbsp; &nbsp;&lt;&lt; Why the "+"?<br>
&nbsp;&gt;&gt; drwxr-xr-x&nbsp; 4 root root 4096 Sep 11 08:18 storage<br>
&nbsp;&gt;&gt; drwxr-xr-x&nbsp; 4 root root 4096 Sep 11 08:14 storage2<br>
&gt;<br>
&gt;&nbsp; /media/storage/ and /media/storage2/ are both owned by root:root not mythtv:mythtv.<br>
<br>
&gt; agreed, but fully functional,would you recommend chown-ing them?&nbsp;<br>
<br>
</span>No need unless you want mythtv being able to create files in the<br>
directory itself. Access to underlying directories is garanteed by the<br>
World rx rights.<br>
<span class="">&gt;<br>
&nbsp;&gt;&gt; daryl@daryl-A780L3C:~$ ls -l /media/daryl<br>
&nbsp;&gt;&gt; total 8<br>
&nbsp;&gt;&gt; drwx------ 2 root root 4096 Aug 26 08:01 3769e2e8-adde-456c-86e4-0402be737ef6<br>
&nbsp;&gt;&gt; Does the UUID show here because it is a partition, not a drive?&nbsp; &lt;&lt;&lt;<br>
&nbsp;&gt;&gt; drwxrwxr-x 4 root root 4096 Sep 13 10:27 mythxtra<br>
&nbsp;&gt;&gt; daryl@daryl-A780L3C:~$ ls -l /media/storage<br>
&nbsp;&gt;&gt; total 20<br>
&nbsp;&gt;&gt; drwx------ 2 root root&nbsp; &nbsp;16384 Jun 11&nbsp; 2013 lost+found<br>
&nbsp;&gt;&gt; drwxrwxr-x 8 ntp&nbsp; mythtv&nbsp; 4096 Sep 13 10:42 mythtv<br>
&gt;<br>
&gt;&nbsp; Looks like /media/storage/mythtv/ is still owned by user ntp not mythtv.<br>
<br>
&gt; there is one file and one directory in there with the ntp while the<br>
&gt; rest have mythtv, no problem thus far?<br>
<br>
</span>Cosmetically speaking I would chown the mythtv directories to mythtv<br>
<span class="">&gt;<br>
&nbsp;&gt;&gt; daryl@daryl-A780L3C:~$ ls -l /media/storage2<br>
&nbsp;&gt;&gt; total 20<br>
&nbsp;&gt;&gt; drwx------ 2 root&nbsp; &nbsp;root 16384 Aug 27 12:54 lost+found<br>
&nbsp;&gt;&gt; drwxrwxr-x 3 mythtv root&nbsp; 4096 Sep 11 08:33 mythtv<br>
&gt;<br>
&gt;&nbsp; /media/storage2/mythtv/ group ownership is root not mythtv.<br>
<br>
&gt; this being the drive that has most available space is getting a<br>
&gt; recording as I type, doesn't seem to be broken?&nbsp;<br>
<br>
</span>The access through the group is so that you can grant users access by<br>
making them member of the mythtv group. Again cosmetically speaking I<br>
would change the group to mythtv.<br>
<span class="im"><br>
&gt;<br>
&nbsp;&gt;&gt; daryl@daryl-A780L3C:~$ ls -l /media/daryl/mythxtra<br>
&nbsp;&gt;&gt; total 20<br>
&nbsp;&gt;&gt; drwx------ 2 root&nbsp; &nbsp;root&nbsp; &nbsp;16384 Sep 13 10:14 lost+found<br>
&nbsp;&gt;&gt; drwxrwxr-x 9 mythtv mythtv&nbsp; 4096 Sep 13 10:36 mythtv<br>
&nbsp;&gt;&gt; daryl@daryl-A780L3C:~$<br>
&nbsp;&gt;&gt;<br>
&nbsp;&gt;&gt; See questions inserted with &lt;'s. Everything else looks good to me, have I missed anything?&nbsp; &nbsp;TIA&nbsp; &nbsp;Daryl<br>
&nbsp;&gt;&gt;<br>
&gt;<br>
&gt;&gt; _______________________________________________<br>
<br>
<br>
</span><span class="im">&gt; Thanks for the replies and critiques, I'm trying to find a balance<br>
&gt; where I do what is necessary, instead of everything possible, which<br>
&gt; has bitten my backside in the past.&nbsp;<br>
<br>
<br>
</span><span class="im">Tot mails,<br>
&nbsp; Hika&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mailto:<a href="mailto:hikavdh@gmail.com">hikavdh@gmail.com</a><br>
<br>
"Zonder hoop kun je niet leven<br>
Zonder leven is er geen hoop<br>
Het eeuwige dilemma<br>
Zeker als je hoop moet vernietigen om te kunnen overleven!"<br>
<br>
De lerende Mens<br>
<br>
</span><div class=""><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>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" target="_blank">https://forum.mythtv.org</a></div></div></blockquote><div><br></div><div>OK cosmetically correct now:</div><div><br></div><div>&nbsp;daryl@daryl-A780L3C:~$ ls -l /media/storage</div><div>total 20</div><div>drwx------ 2 root root &nbsp; 16384 Jun 11 &nbsp;2013 lost+found</div><div>drwxrwxr-x 8 ntp &nbsp;mythtv &nbsp;4096 Sep 13 10:42 mythtv</div><div>daryl@daryl-A780L3C:~$ sudo chown mythtv /media/storage/mythtv</div><div>[sudo] password for daryl:&nbsp;</div><div>daryl@daryl-A780L3C:~$ ls -l /media/storage</div><div>total 20</div><div>drwx------ 2 root &nbsp; root &nbsp; 16384 Jun 11 &nbsp;2013 lost+found</div><div>drwxrwxr-x 8 mythtv mythtv &nbsp;4096 Sep 13 10:42 mythtv</div><div>daryl@daryl-A780L3C:~$ ls -l /media/storage2</div><div>total 20</div><div>drwx------ 2 root &nbsp; root 16384 Aug 27 12:54 lost+found</div><div>drwxrwxr-x 3 mythtv root &nbsp;4096 Sep 11 08:33 mythtv</div><div>daryl@daryl-A780L3C:~$ sudo chown .mythtv /media/storage2/mythtv</div><div>daryl@daryl-A780L3C:~$ ls -l /media/storage2</div><div>total 20</div><div>drwx------ 2 root &nbsp; root &nbsp; 16384 Aug 27 12:54 lost+found</div><div>drwxrwxr-x 3 mythtv mythtv &nbsp;4096 Sep 11 08:33 mythtv</div><div>daryl@daryl-A780L3C:~$&nbsp;</div><div><br></div><div>Grazie!</div></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br></div></blockquote><br><div>In my opinion it is a bit more important than cosmetics, even if it appears to be working fine as it is. There might be issues you haven't picked up on yet or future problems.</div><div><br></div><div>It might be just me but one of the first things I learnt with Ubuntu (noting I am a ubuntu newbie) is that permissions are king - if something is not working it is pretty much the first thing I check.</div><div><br></div><div>If changing the user:group ownership to mythtv causes a problem in my mind that is a good thing because it lets you fix whatever the real cause is before it causes something more severe or problematic to occur.</div><div><br></div><div><br></div></body></html>