[mythtv-users] two small Q's

Hika van den Hoven hikavdh at gmail.com
Sat Sep 13 23:55:49 UTC 2014


Hoi Daryl,

Sunday, September 14, 2014, 1:27:34 AM, you wrote:





> On Sat, Sep 13, 2014 at 6:21 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:

> Hoi Daryl,
>  
>  Sunday, September 14, 2014, 12:11:28 AM, you wrote:
>  
>  
>  
>  
>  
 >> On Sat, Sep 13, 2014 at 5:30 PM, Mark Perkins <perkins1724 at hotmail.com> wrote:
>  
>  
 >>
  >>> On 14 Sep 2014, at 2:21 am, "Daryl McDonald" <darylangela at gmail.com> wrote:
  >>>
  >>> 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:
  >>>
  >>> daryl at daryl-A780L3C:~$ ls -l /media
  >>> total 12
  >>> drwxr-xr-x+ 4 root root 4096 Sep 13 12:28 daryl   << Why the "+"?
  >>> drwxr-xr-x  4 root root 4096 Sep 11 08:18 storage
  >>> drwxr-xr-x  4 root root 4096 Sep 11 08:14 storage2
 >>
 >>  /media/storage/ and /media/storage2/ are both owned by root:root not mythtv:mythtv.
>  
 >> agreed, but fully functional,would you recommend chown-ing them? 
>  
>  No need unless you want mythtv being able to create files in the
>  directory itself. Access to underlying directories is garanteed by the
>  World rx rights.
 >>
  >>> daryl at daryl-A780L3C:~$ ls -l /media/daryl
  >>> total 8
  >>> drwx------ 2 root root 4096 Aug 26 08:01 3769e2e8-adde-456c-86e4-0402be737ef6
  >>> Does the UUID show here because it is a partition, not a drive?  <<<
  >>> drwxrwxr-x 4 root root 4096 Sep 13 10:27 mythxtra
  >>> daryl at daryl-A780L3C:~$ ls -l /media/storage
  >>> total 20
  >>> drwx------ 2 root root   16384 Jun 11  2013 lost+found
  >>> drwxrwxr-x 8 ntp  mythtv  4096 Sep 13 10:42 mythtv
 >>
 >>  Looks like /media/storage/mythtv/ is still owned by user ntp not mythtv.
>  
 >> there is one file and one directory in there with the ntp while the
 >> rest have mythtv, no problem thus far?
>  
>  Cosmetically speaking I would chown the mythtv directories to mythtv
 >>
  >>> daryl at daryl-A780L3C:~$ ls -l /media/storage2
  >>> total 20
  >>> drwx------ 2 root   root 16384 Aug 27 12:54 lost+found
  >>> drwxrwxr-x 3 mythtv root  4096 Sep 11 08:33 mythtv
 >>
 >>  /media/storage2/mythtv/ group ownership is root not mythtv.
>  
 >> this being the drive that has most available space is getting a
 >> recording as I type, doesn't seem to be broken? 
>  
>  The access through the group is so that you can grant users access by
>  making them member of the mythtv group. Again cosmetically speaking I
>  would change the group to mythtv.
>  
 >>
  >>> daryl at daryl-A780L3C:~$ ls -l /media/daryl/mythxtra
  >>> total 20
  >>> drwx------ 2 root   root   16384 Sep 13 10:14 lost+found
  >>> drwxrwxr-x 9 mythtv mythtv  4096 Sep 13 10:36 mythtv
  >>> daryl at daryl-A780L3C:~$
  >>>
  >>> See questions inserted with <'s. Everything else looks good to me, have I missed anything?   TIA   Daryl
  >>>
 >>
 >>> _______________________________________________
>  
>  
 >> Thanks for the replies and critiques, I'm trying to find a balance
 >> where I do what is necessary, instead of everything possible, which
 >> has bitten my backside in the past. 
>  
>  
>  Tot mails,
>    Hika                            mailto:hikavdh at gmail.com
>  
>  "Zonder hoop kun je niet leven
>  Zonder leven is er geen hoop
>  Het eeuwige dilemma
>  Zeker als je hoop moet vernietigen om te kunnen overleven!"
>  
>  De lerende Mens
>  
>  
> _______________________________________________
>  mythtv-users mailing list
>  mythtv-users at mythtv.org
>  http://www.mythtv.org/mailman/listinfo/mythtv-users
>  http://wiki.mythtv.org/Mailing_List_etiquette
>  MythTV Forums: https://forum.mythtv.org

> OK cosmetically correct now:

>  daryl at daryl-A780L3C:~$ ls -l /media/storage
> total 20
> drwx------ 2 root root   16384 Jun 11  2013 lost+found
> drwxrwxr-x 8 ntp  mythtv  4096 Sep 13 10:42 mythtv
> daryl at daryl-A780L3C:~$ sudo chown mythtv /media/storage/mythtv
> [sudo] password for daryl: 
> daryl at daryl-A780L3C:~$ ls -l /media/storage
> total 20
> drwx------ 2 root   root   16384 Jun 11  2013 lost+found
> drwxrwxr-x 8 mythtv mythtv  4096 Sep 13 10:42 mythtv
> daryl at daryl-A780L3C:~$ ls -l /media/storage2
> total 20
> drwx------ 2 root   root 16384 Aug 27 12:54 lost+found
> drwxrwxr-x 3 mythtv root  4096 Sep 11 08:33 mythtv
> daryl at daryl-A780L3C:~$ sudo chown .mythtv /media/storage2/mythtv
> daryl at daryl-A780L3C:~$ ls -l /media/storage2
> total 20
> drwx------ 2 root   root   16384 Aug 27 12:54 lost+found
> drwxrwxr-x 3 mythtv mythtv  4096 Sep 11 08:33 mythtv
> daryl at daryl-A780L3C:~$ 

> Grazie!

:)

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list