[mythtv-users] User permissions

Christopher Meredith chmeredith at gmail.com
Sat Feb 5 18:59:20 UTC 2011


On Sat, Feb 5, 2011 at 9:38 AM, Doug Lytle <support at drdos.info> wrote:
> Christopher Meredith wrote:
>>
>> I want the mythtv user to have the
>> same permissions as my regular user
>
> What distro are you using?
>
> I've got a user/group called mythtv.  I've added my doug profile to the
> mythtv group.
>
> On my data directories I set the sticky bit for group permissions on the
> directories:
>
> chmod g+s datadir -R
>
> When I create anything within those directories, the group permissions will
> be mythtv
>
> [doug at desktop Movies]$ mkdir temp
>
> [doug at desktop Movies]$ ls -l
>
> drwxr-sr-x  2 doug  mythtv    6 2011-02-05 10:34 temp/

I am using Ubuntu. I edited /etc/group and changed this line:

mythtv:x:106:mythtv

to this:

mythtv:x:106:theophile,mythtv

I changed the ownership of /mnt/media to mythtv:mythtv and then ran
the chmod command you suggested. Even after logging out and ssh'ing
back into the backend, my normal (theophile) user cannot create
directories in /mnt/media (but mythtv can).

For whatever it's worth, this is separate from my recordings storage
group. I just need my user jobs to be able to do anything in that
directory that my normal user can. (I'd also like the user www-data to
be able to do the same, but that's another issue).


More information about the mythtv-users mailing list