[mythtv-users] mythfilldatabase failing after OS upgrade

James Linder jam at tigger.ws
Sat Jan 7 09:17:05 UTC 2023



> On 7 Jan 2023, at 7:49 am, Hika van den Hoven <hikavdh at gmail.com> wrote:
> 
> Hoi Daryl,
> 
> Saturday, January 7, 2023, 12:18:00 AM, you wrote:
> 
> 
> 
> 
>> On Fri, Jan 6, 2023 at 6:09 PM Mike Perkins
>> <mikep at randomtraveller.org.uk> wrote:
> 
>> On 06/01/2023 21:01, Hika van den Hoven wrote:
>>> Hoi Daryl,
>>> 
>>> There is one thing you always have to remember when you move data like
>>> this between old and new systems or even more important, share them
>>> between two installation on one physical system.
>>> 
>>> usernames and groupnames are meaningless to the computer. The computer
>>> uses the numerical u(ser)id and g(roup)id. For our benefit as stupid
>>> mortals it translates it to a name.

Slight Disagreement:

userId and groupId on a system are defined in /etc/passwd and /etc/group

Files are stored with GID and UID

so if on system 1

UID 1000 is me
UID 1001 is mythtv

and on system 2

UID 1001 is me
UID 1002 is mythtv


Files on system1 belonging to me on system2 would belong to 1000
Files on system1 belonging to mythtv on system2 would belong to me

All easy to comprehend. Of passing interest first UUID of 1000 is abitary. HPUX used to use 500, and you are free to use (say) 789. # chown -R is your friend

James


More information about the mythtv-users mailing list