← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1578387] Re: Mythexport creates files with wrong permissions

 

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 Mythbuntu
Bug Team, which is subscribed to mythexport in Ubuntu.
https://bugs.launchpad.net/bugs/1578387

Title:
  Mythexport creates files with wrong permissions

Status in mythexport package in Ubuntu:
  New

Bug description:
  I upgraded my system from Ubuntu 12.04 to 14.04. Back in 12.04 the
  files that mythexported created had 666 permissions, owner mythtv,
  group mythtv. In 14.04 they are still the same owner and group but
  have permissions 600. This means that I cannot download them through
  the RSS feed - I get a 403 error.

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


References