<br><br><div class="gmail_quote">On Sat, Feb 5, 2011 at 7:29 AM, Christopher Meredith <span dir="ltr"><<a href="mailto:chmeredith@gmail.com">chmeredith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I've been fighting with this issue for a while and I'm finally asking<br>
for help. Despite having run linux for the past 13 years, I still<br>
don't really understand permissions. My specific problem is that I<br>
have a directory (/mnt/media) which has subdirectories (Movies, TV,<br>
Trailers, etc.). I put things in those directories from a variety of<br>
sources, MythTV being one of them. I want the mythtv user to have the<br>
same permissions as my regular user to read, write, create<br>
directories, etc. Currently, if I want my mythtv user jobs to be able<br>
to write a file in that directory, I have to change the ownership to<br>
mythtv:mythtv. I don't know what else to do.<br>
<br>
I'm sorry if this comes off as seriously noobish. I can't help it.<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" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br><br>This is a bit more elegant solution<br><br>setfacl -Rm default:u:mythtv:rw /mnt/media (This command configures /mnt/media and all subdirectories to add mythtv rw permissions on all new files)<br>
<br>setfacl -Rm u:mythtv:rw /mnt/media (This command configures recursively all files in /mnt/media to add mythtv as an acl and gives read and write permissons on the file)<br><br><br>Most distributions enable ACL's by default.<br>