[mythtv-users] UserJob setup
James Abernathy
jfabernathy at gmail.com
Wed Jun 7 11:22:52 UTC 2023
On Wed, Jun 7, 2023 at 6:59 AM James Abernathy <jfabernathy at gmail.com>
wrote:
>
>
> On Wed, Jun 7, 2023 at 6:53 AM Ian Cameron <mkbloke at gmail.com> wrote:
>
>> On Wed, 7 Jun 2023 at 11:30, James Abernathy <jfabernathy at gmail.com>
>> wrote:
>>
>>>
>>> jim at ubuntu-mythtv:~$ ls -lad /home/jim
>>> drwxr-x--- 1 jim jim 430 Jun 6 12:12 /home/jim
>>>
>>
>> Perhaps the best solution in this arrangement would be to:
>>
>> sudo usermod -aG jim mythtv
>>
>> Another option is:
>>
>> chmod 751 /home/jim
>>
>> but that allows potentially more access than might be desirable.
>>
>> Cheers, Ian
>>
>> Interesting. while I think just using the working directory in /tmp, I'd
> like to understand this permissions thing.
>
> When logged in as jim:
> uid=1000(jim) gid=1000(jim)
> groups=1000(jim),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),100(users),118(lpadmin),130(sambasha
> re),200(mythtv)
>
> When logged in as mythtv:
> uid=200(mythtv) gid=200(mythtv)
> groups=200(mythtv),20(dialout),24(cdrom),27(sudo),29(audio),44(video),100(users)
>
> So I'll add mythtv to group jim and see what happens.
>
> Thanks,
> Jim A
>
I added user mythtv to group jim, logged out and back in. Running the
userjob from mythtfrontend (as mythtv) would still not use the working dir
in /home/jim/Videos.
However, when I switched the location of the working dir to
/home/mythtv/Videos it worked just like /tmp. So I'll use that since it's
more permanent than /tmp.
Thanks,
Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230607/64a51aed/attachment.htm>
More information about the mythtv-users
mailing list