[mythtv-users] Mythexport output files wrong permissions

Michael T. Dean mtdean at thirdcontact.com
Fri May 6 11:07:53 UTC 2016


On 05/06/2016 06:52 AM, John Veness wrote:
> I have just upgraded my combined BE/FE from Ubuntu 12.04 to 14.04 (I 
> realise I am behind the times!) Before the change, files output from 
> mythexport had permissions 666 (-rw-rw-rw-). Files output since the 
> upgrade have permissions 600 (-rw-------). This means that the apache 
> process that serves the output files, via an RSS feed, cannot read the 
> files and so they cannot be downloaded.
>
> I was wondering if anyone else was having this problem, and knew how 
> to solve it?
>
> By adding debugging messages to mythexport-daemon, as far as I can 
> see, the umask changes after startDaemon, which calls 
> Proc::Daemon::Init. According to the documentation for the latter, 
> changing the umask is normal behaviour. But as I say, I never had this 
> problem with 12.04.
>

Just a guess, but I'd expect that the umask in the environment which is 
used to start mythexport (or used to start the process that's starting 
mythexport) has changed.

Mike


More information about the mythtv-users mailing list