[mythtv-users] MythArchive requires root?

Frank Riley fhriley at yahoo.com
Sat Nov 25 23:09:29 UTC 2006


On Nov 25, 2006, at 9:08 AM, Paul Harrison wrote:

> Frank Riley wrote:
>> On Nov 25, 2006, at 12:34 AM, Frank Riley wrote:
>>
>>
>>> Hello, I recently switched from running mythfrontend as root to
>>> running as mythtv. Now when I go into the "Import Files" option of
>>> MythArchive, mythfrontend seg faults. If I switch back to  
>>> starting up
>>> mythfrontend as root, it runs fine. The MythArchive working dirs are
>>> all owned by mythtv. Any ideas why it won't run under mythtv user?
>>>
>>
>> So I found the culprit, but I still don't know why it's doing it.
>>  From strace:
>>
>> access("/", F_OK)                       = 0
>> lstat64("/", {st_mode=S_IFDIR|S_ISVTX|0341, st_size=4096, ...}) = 0
>> open("/", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 EACCES
>> (Permission denied)
>> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>>
>> Why would it be trying to access the root dir of my drive?
>>
>>
> The "Find Archive Files" allow you to navigate though your file system
> to look for archived files to import. It always starts from the '/'
> directory and uses QT to get the file list so no ideal why its  
> failing.
> A BT would be useful so MythArchive could at least be made to not
> segfault assuming it is something in MythArchive and not in QT that  
> is.

I got this fixed. Somehow the permissions on my / dir got messed up.  
I did a 'chmod 755 /' and all is well.


More information about the mythtv-users mailing list