[mythtv-users] Changing permissions of recorded files.
Michael T. Dean
mtdean at thirdcontact.com
Sat Oct 16 00:41:01 UTC 2010
On 10/15/2010 08:32 PM, Chris Capon wrote:
> Is there a way to change what permissions the mythtv-backend puts on
> recording files it creates?
> Currently, they are only read/writable by the mythtv user and I'd like
> them to be readable by the mythtv group as well.
> ab at cde:/hd/video$ l -d mythtv
> drwxrwxrwx 2 mythtv mythtv 4096 Oct 15 17:10 mythtv/
> ab at cde:/hd/video$ l mythtv
> total 8132112
> -rw------- 1 mythtv mythtv 8319043588 Oct 15 17:07 2091_20101015160000.mpg
> -rw-rw-rw- 1 mythtv mythtv 91987 Oct 15 17:00 2091_20101015160000.mpg.png
> ab at cde:/hd/video$
> Much thanks.
Set your umask appropriately (like 0022 or 0002) in the environment
More information about the mythtv-users