[mythtv-users] MythArchive requires root?

Frank Riley fhriley at yahoo.com
Sat Nov 25 15:22:26 UTC 2006


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?


More information about the mythtv-users mailing list