[mythtv-users] Problem with lirc

Brian Wood beww at beww.org
Thu Apr 6 00:00:39 UTC 2006


On Apr 5, 2006, at 5:48 PM, James Oltman wrote:

>
> Doesn't mean the permissions can't be wrong. If the /home/
> mythtv/.mythtv directory was created by root you would have that
> problem.
>
> So forgive my incompetence, but i don't know how to check that.  i  
> can give you an ls -la on that directory.
>
> -rw-rw-r--   1 mythtv mythtv 5773 Apr  5 16:06 .lircrc
> drwx------   3 mythtv mythtv 4096 Apr  4 21:53 .local
> drwxr-xr-x   3 mythtv mythtv 4096 Apr  4 21:53 .mcop
> drwxrwxr-x   3 mythtv mythtv 4096 Apr  4 21:54 .mozilla
> drwxrwxr-x   5 root   root   4096 Apr  5 16:14 .mythtv
>
> in the .mythtv directory:
>
> -rwxr-xr-x   1 root   root   5773 Apr  5 16:14 lircrc
>
>
> I did have to create it as su root.  So I'm stumped.  Thanks!!
>
>

See ?? The .mythtv directory is owned by root:root, so the mythtv  
user won't be able to write to it.

try (as root)

chown mythtv /home/mythtv/.mythtv
chgrp mythtv /home/mythtv/.mythtv

You can then create/edit the lircrc file as the mythtv user.

You should have been able to create this directory as mythtv from  
the /home/mythtv directory, unless its own permissions are screwy.

I would really suggest taking a little time to read up on Linux  
ownership, permissions and the format of the "ls" output. It will  
really be worth your time and will help immensely in diagnosing  
future problems. It is a simple thing once understood, but is very  
"un-windows-like".

Besides, learning new things is a good thing in and of itself.


More information about the mythtv-users mailing list