<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 7, 2023 at 6:59 AM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 7, 2023 at 6:53 AM Ian Cameron <<a href="mailto:mkbloke@gmail.com" target="_blank">mkbloke@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 7 Jun 2023 at 11:30, James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<span class="gmail_default" style="font-size:small"></span><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">jim@ubuntu-mythtv</span><span style="color:rgb(0,0,0)">:</span><span style="font-weight:bold;color:rgb(84,84,255)">~</span><span style="color:rgb(0,0,0)">$ ls -lad /home/jim
</span><br>drwxr-x--- 1 jim jim 430 Jun  6 12:12 <span style="font-weight:bold;color:rgb(84,84,255)">/home/jim</span></span></div></div></blockquote><div><br></div><div style="font-size:small">Perhaps the best solution in this arrangement would be to:</div><div style="font-size:small"><br></div><div style="font-size:small">sudo usermod -aG jim mythtv</div><div style="font-size:small"><br></div><div style="font-size:small">Another option is:</div><div style="font-size:small"><br></div><div style="font-size:small">chmod 751 /home/jim</div><div style="font-size:small"><br></div><div style="font-size:small">but that allows potentially more access than might be desirable.</div><div style="font-size:small"><br></div><div style="font-size:small">Cheers, Ian</div><div style="font-size:small"><br></div></div></div></blockquote><div>Interesting.  while I think just using the working directory in /tmp, I'd like to understand this permissions thing.</div><div><br></div><div>When logged in as jim:</div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">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</span><br>re),200(mythtv)<br>
<br></span><div>When logged in as mythtv:</div><div> <span style="color:rgb(0,0,0);font-family:monospace">uid=200(mythtv) gid=200(mythtv) groups=200(mythtv),20(dialout),24(cdrom),27(sudo),29(audio),44(video),100(users)</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace">So I'll add mythtv to group jim and see what happens.</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Thanks,</span></div><div><span style="color:rgb(0,0,0);font-family:monospace">Jim A</span></div></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>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. </div><div><br></div><div>Thanks,</div><div><br></div><div>Jim A</div><div> </div></div></div>