[mythtv-users] Permissions problem

A Desai ashu.desai at gmail.com
Mon Jul 24 03:28:39 UTC 2006


[root at localhost ~]# ls -adl /usr/local/media
drwxr-xr-x+ 8 root mythtv 96 Jul  5 21:27 /usr/local/media

[root at localhost ~]# ls -adl /usr/local/media/tv
drwxr-xr-x+ 2 root mythtv 8192 Jul 23 17:24 /usr/local/media/tv


Thanks,

--a--

On 7/23/06, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>
> On 07/23/2006 06:29 PM, A Desai wrote:
> > On 7/22/06, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> >> On 07/21/06 16:30, A Desai wrote:
> >>> I need some help with my MythTV recordings. Right now what happens
> >>> is that every new recording is recorded with a permission of 600,
> >>> where *root* is the owner and *mythtv* is the group.
> >>>
> >>> This happened after I was playing around with the security settings
> >>> of /usr/local/media on my Windows box. This is what happened:
> >>>
> >>> I have my all my Mythtv contents under /usr/local/media
> >>> (/usr/local/media/tv, /usr/local/media/videos,
> >>> /usr/local/media/music....etc). I have this /usr/local/media shared
> >>> as my M: drive on my Windows machine. The other day I was playing
> >>> around with the "security" of this mapped drive on my windows box
> >>> and I saw that there were two "users" there: Everyone and Root.
> >>> However, none of the rights under either of those users were checked
> >>> off. So I checked them off. However, doing this made me unable to
> >>> watch any recordings, so I tried to uncheck it back. This time I saw
> >>> that there were one more user added there (can't remember now, but
> >>> something CREATED...). Also, when I tried to uncheck it, it asked me
> >>> if I want sub-folders to inheret the permissions, etc. Anyway,
> >>> nothing worked so I went to my mythtv and did a recursive chmod 755
> >>> as well as did chgrp mythtv /usr/local/media.
> >>>
> >>> But this only works for the recordings I have so far. Any new
> >>> recording gets a permissions of 600, so it shows up as a recording,
> >>> there is a pic in the preview pane, but when I click on it, it just
> >>> sits there. My backend runs as root, frontend as mythtv. So every
> >>> evening when I go home from work, I have to do chmod -r 755
> >>> /usr/local/media.
> >> ls -ald /usr/local/media
> >>
> >> gives?
> > When I run ls -ald /usr/local/media/tv/*, this is what I get:
> >
> > -rw-------  1 root root     83882592 Jul 23 17:25
> > /usr/local/media/tv/2192_20060723172400.mpg
>
> Did you see a * on my command?  I need info about the directory, not the
> files in it.
>
> > The other surprising thing I just noticed is that my old recordings,
> > which I make it chmod -R 755, if I try to go and watch them, I can do
> > so. However, once I start watching it, their permissions now change to
> > permission of 666!
>
> Sounds like the problem is that Windows is messing with your files,
> then.  If that's the case, I can't help you (I don't do Windows).
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>



-- 
Affordable web-hosting, professional service.
http://www.eHostingCenter.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060723/ed53ae86/attachment.htm 


More information about the mythtv-users mailing list