[mythtv-users] NFS and Myth

James Crow james at ultratans.com
Tue Jan 27 22:29:51 UTC 2009


On Tue, 2009-01-27 at 17:06 -0500, James Crow wrote:
> I recently added a new slave BE. The recording directory from the master
> BE is NFS shared to the slave. The same for the recording directories on
> the slave BE. The problem I have is that the mythtv user and group on
> the master BE and slave BE are not the same. When the master instructs
> the slave to transcode a recording the slave is unable to delete the
> original recording file. 
> 
> I can not be the first person to encounter this problem, how are other
> people handling this issue?
> 
> I could change the mythtv user and group id on one system to match the
> other, but I am not sure what other problems that may create.
> 
> Thanks,
> James
> 
> 
Thanks for all the replies. I changed the uid/gid on the master BE to
match the slave because the master had the uid/gid from the slave free.

This is what I did:

stop the backend
stop gdm (to make sure the mythtv user was logged out)
usermod -u <NEWUID> mythtv
groupmod -g <NEWGID> mythtv
find / -user <OLDUID> -exec chown <NEWUID> {} \;
find / -group <OLDGID> -exec chgrp <NEWGID> {} \;
start mythbackend
start gdm

So far the log looks good. I will have to wait to test recording and
such until later this evening.

Thanks,
James





More information about the mythtv-users mailing list