[mythtv] [mythtv-commits] Ticket #6578: Changing file-permissions

Michael T. Dean mtdean at thirdcontact.com
Tue May 26 17:45:38 UTC 2009


On 05/26/2009 12:44 PM, MythTV wrote:
> #6578: Changing file-permissions
>
>
> Comment(by markus.doits):
>
>  mythbackend (and/or mythtranscode) create(s) files with inconsistent
>  permissions. i'm not sure whether this is intended (what is the logic
>  behind then?), but i think all recordings created by mythtv should have
>  the same permissions.
>
>  if it's not mythtv managing the permissions of files, how do files get any
>  permission? (i think a simple "chmod 644" (or whatever it should be) after
>  creating any recording, transcoded file, ... would solve this problem).
>  maybe umask-handling in mythtv is simply broken (sometimes changed,
>  sometimes default) and chmod would be a workaround-hack until someone
>  investigates this problem further. it's a minor problem then, but
>  nevertheless a bug...
>   

Set the umask for the user running the backend properly and all should
work well.  022 or 002 should work well.

Mike



More information about the mythtv-dev mailing list