[mythtv-users] cannot mkdir //.xmltv

Michael T. Dean mtdean at thirdcontact.com
Mon May 29 06:21:44 UTC 2006


On 05/28/2006 05:41 PM, Hansa wrote:
>> On 05/27/2006 03:23 PM, Hansa wrote:
>>     
>>> >From mythbackend.log:
>>>
>>> 2006-05-27 17:38:58.389 ----------------- Start of XMLTV
>>> output -----------------
>>> 2006-05-27 17:38:58.392 New DB connection, total: 3
>>> 2006-05-27 17:38:58.394 Connected to database 'mythconverg' at host:
>>> localhost
>>> cannot mkdir //.xmltv: Permission denied at
>>> /usr/share/perl5/XMLTV/Config_file.pm line 24.
>>> 2006-05-27 17:39:00.499 ------------------ End of XMLTV
>>> output ------------------
>>> Error in 1:1: unexpected end of file
>>>
>>> The backend wants to make a directory for some reason but I'm not sure why in //.xmltv?
>>> It looks like there should be something between the slashes like
>>> /path_to/.xmltv
>>>
>>> Why does it want to create this dir? There is one in /home/mythtv/.xmltv
>>>       
>> The backend is running in an environment without the HOME variable set.
>> You can just put
>>
>> export HOME=/home/mythtv
>>
>> into the script that runs mythbackend (before starting mythbackend).
>>     
> Shoudn't that happen automatically since the backend starts as user mythtv?
> The HOME variable is set to /home/mythtv when I log in as user mythtv.

Only if the backend is started as user mythtv from a /login/ shell.  
Anyway, it's not happening, so either add the export or change the 
command that starts the backend as user mythtv to use a login shell or ...

Mike


More information about the mythtv-users mailing list