After I did setfacl -b /usr/local/media, it gave me: drwxr-xr-x 8 root mythtv 96 Jul 5 21:27 /usr/local/media<br><br>But when I checked ls -ald /usr/local/media/tv, it still gave me the plus ...which told me that it wasn't recursive. So I did the setfacl command, but on /usr/local/media/tv/*
<br><br>Then I thought I would make it recursive to everything, since I was having a problem watching live TV due to this problem. So I did:<br><br>setfacl -b -R /usr/local/media/*<br><br>I am hoping this would have solved it.
<br>Previously when I looked at Security under my Windows box, it showed Everyone, Root, Mythtv as users as well as CREATOR GROUP in it. I think the ACL thing did that. After that setfacl command, it's gone. It's back to it's normal settings. I will find out today after it records new stuff.
<br><br>Thanks a lot. Not sure how you found out, but thanks. Will keep you updated.<br><br>--a--<br><br><br><div><span class="gmail_quote">On 7/25/06, <b class="gmail_sendername">Michael T. Dean</b> <<a href="mailto:mtdean@thirdcontact.com">
mtdean@thirdcontact.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On 07/23/06 23:28, A Desai wrote:<br><br>> On 7/23/06, Michael T. Dean <
<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:<br>> > On 07/23/2006 06:29 PM, A Desai wrote:<br>> >> On 7/22/06, Michael T. Dean <<a href="mailto:mtdean@thirdcontact.com">
mtdean@thirdcontact.com</a>> wrote:<br>> >>> On 07/21/06 16:30, A Desai wrote:<br>> >>>> I need some help with my MythTV recordings. Right now what<br>> >>>> happens is that every new recording is recorded with a
<br>> >>>> permission of 600, where *root* is the owner and *mythtv* is<br>> >>>> the group.<br>> >>>><br>> >>>> This happened after I was playing around with the security
<br>> >>>> settings of /usr/local/media on my Windows box. This is what<br>> >>>> happened:<br>> >>>><br>> >>>> I have my all my Mythtv contents under /usr/local/media
<br>> >>>> (/usr/local/media/tv, /usr/local/media/videos,<br>> >>>> /usr/local/media/music....etc). I have this /usr/local/media<br>> >>>> shared as my M: drive on my Windows machine. The other day I
<br>> >>>> was playing around with the "security" of this mapped drive<br>> >>>> on my windows box and I saw that there were two "users"<br>> >>>> there: Everyone and Root. However, none of the rights under
<br>> >>>> either of those users were checked off. So I checked them<br>> >>>> off. However, doing this made me unable to watch any<br>> >>>> recordings, so I tried to uncheck it back. This time I saw
<br>> >>>> that there were one more user added there (can't remember<br>> >>>> now, but something CREATED...). Also, when I tried to uncheck<br>> >>>> it, it asked me if I want sub-folders to inheret the
<br>> >>>> permissions, etc. Anyway, nothing worked so I went to my<br>> >>>> mythtv and did a recursive chmod 755 as well as did chgrp<br>> >>>> mythtv /usr/local/media.<br>> >>>>
<br>> >>>> But this only works for the recordings I have so far. Any new<br>> >>>> recording gets a permissions of 600, so it shows up as a<br>> >>>> recording, there is a pic in the preview pane, but when I
<br>> >>>> click on it, it just sits there. My backend runs as root,<br>> >>>> frontend as mythtv. So every evening when I go home from<br>> >>>> work, I have to do chmod -r 755 /usr/local/media.
<br>> >>> ls -ald /usr/local/media<br>> >>><br>> >>> gives?<br>><br>> [root@localhost ~]# ls -adl /usr/local/media<br>> drwxr-xr-x+ 8 root mythtv 96 Jul 5 21:27 /usr/local/media
<br>><br>> [root@localhost ~]# ls -adl /usr/local/media/tv<br>> drwxr-xr-x+ 2 root mythtv 8192 Jul 23 17:24 /usr/local/media/tv<br><br>As indicated by the "+" after the permissions, you have an ACL (Access
<br>Control List) set on your directories (probably put there by Windows).<br><br><a href="http://security.linux.com/security/04/07/28/1746258.shtml?tid=23&tid=35">http://security.linux.com/security/04/07/28/1746258.shtml?tid=23&tid=35
</a><br><br>What happens with something like:<br><br>setfacl -b /usr/local/media/{,tv}<br><br>Mike<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Affordable web-hosting, professional service.
<br><a href="http://www.eHostingCenter.net">http://www.eHostingCenter.net</a>