[mythtv-users] Permissions problem
Michael T. Dean
mtdean at thirdcontact.com
Sun Jul 23 22:56:47 UTC 2006
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
More information about the mythtv-users
mailing list