I have been looking into this more, and it looks like a umask issue. By
adding debugging output to /usr/bin/mythexport-daemon, I see that the
umask is fine until the startDaemon call, at which point it's set to
066. Presumably it is this that is creating the files with the
permissions they have.

startDaemon called Proc::Daemon::Init, and looking at documentation for
that, apparently it is normal behaviour to set the umask so.

What I don't know is exactly why this has changed between 12.04 and
14.04. I can't see much changes is the mythexport package between the
two, but it may have been a change in Perl or Ubuntu.

If desired, I can show a list of all packages (including version
numbers) that changed on my system between 12.04 and 14.04. And I have a
backup of my 12.04 system I could roll back to if anyone wants to
troubleshoot.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1578387

Title:
  Mythexport creates files with wrong permissions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mythexport/+bug/1578387/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to