[mythtv-users] Group/user numbers changing on 16.04??

Hika van den Hoven hikavdh at gmail.com
Mon Aug 8 20:13:41 UTC 2016


Hoi Jim,

Monday, August 8, 2016, 9:06:49 PM, you wrote:

>   
> To fix things or to upgrade to new versions of Mythbuntu, I just
> rebuild my boot drive and leave my Storage directory drives alone. 
> Same thing for network attached drives on a NAS.


> The problem is the user mythtv and group mythtv have changed
> numbers.  Mythtv group usesd to be 124 and mythtv user was 115.  Now
> on the reinstall mythtv group is now 121 and mythtv user is 123.  


> This is more of an issue for NAS drives/files since I have lots of
> them. I can always recreate and format the storage directory drives
> since I don't upgrade or reinstall when there are recordings on the system.


> Is there an easy way to handle this?  I tried changing the owner
> and group on the NAS, but I got permissions issues even when doing it as SU.


> Jim A

>                                            

That is in part why I work with ldap. My UIDs and GIDs never change.

But back to the issue. What kind of permission issues, root UID 0 has
by definition all conceivable rights on a system. However ssh can be
blocked to root. It's a setting in /etc/ssh/sshd_config
"PermitRootLogin". You can set it to yes, no and some intermediate
settings to for instance only allow connection through ssl keys and
not through a password.
It is also possible that your NAS exposes a fake root user with
another UID then 0. In that case I'm out of my depth as I never really
worked with a NAS.

The simplest should be a:
 sudo chown -R mythtv <path>
  or
 sudo chown -R mythtv.mythtv <path>
on the relevant trees on the NAS

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