[mythtv-users] Permission problem... mythtv user

A JM vbtalent at gmail.com
Wed Jan 10 19:09:32 UTC 2007


On 1/10/07, Brad DerManouelian <myth at dermanouelian.com> wrote:
> On Jan 10, 2007, at 9:44 AM, Stroller wrote:
>
> >
> > On 10 Jan 2007, at 15:33, A JM wrote:
> >> ...
> >> So, can you guys answer the question as to why when I created the
> >> user
> >> from the root account
> >>
> >> # addusr mythtv
> >>
> >> Why didn't the user mythtv get ownership of it's own directory?
> >
> > You didn't ask that question. And, sorry, no, I can't.
> >
> > My system doesn't have `addusr`, only `adduser`, which is a symlink
> > to `useradd`. Were one invoking this one would need to ensure that
> > the "-m" or "--create-home" parameter was set, in order to ensure a
> > home directory was made. I would expect permissions to be set
> > correctly, as long as the default ~mythtv did not already exist.
> >
> > But since you already have a /home/mythtv, why don't you simply
> > `chown -R mythtv.mythtv /home/mythtv`?
> >
> > Stroller.
>
> Sounds like he manually created /home/mythtv as root not realizing
> that he simply created a directory, not a user. Realizing he had no
> mythtv user, he created it later and wondered why it didn't go
> through his entire filesystem structure and pick out any directories
> named mythtv and assigned them to that new user. At least, that's the
> scenario in my head. :)
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Well, I'm still learning linux as can be told by my mistypings and
poor linux vocabulary... sorry about that.

I'm going to take a stab that #adduser wouldn't do a thing but give me
an error message on a FC6 box so I must have used #useradd mythtv
instead, becuse mythtv did exist as a user.

When the user is added can you tell me what the default permissions
are for that user. I assume they would have read/write to their own
directory? Now that the user mythtv has a home folder /mythtv do I
need to change the permissions on the folder?

So, let's assume for the sake of argument that I created a /mythtv
folder first then created a user mythtv shouldn't the GUI be able to
assign the user mythtv to the folder /mythtv if I make that change
from root?

I would make the argument that it should be able to do that but it
didn't happened.... is it not the same as assigning the user a /home
folder if the folder reides in the /home directory, like /home/mythtv?

Thanks,


More information about the mythtv-users mailing list