[mythtv-users] User permissions
Chris Porter
hoodlum7 at gmail.com
Sat Feb 5 19:18:04 UTC 2011
On Sat, Feb 5, 2011 at 7:29 AM, Christopher Meredith
<chmeredith at gmail.com>wrote:
> I've been fighting with this issue for a while and I'm finally asking
> for help. Despite having run linux for the past 13 years, I still
> don't really understand permissions. My specific problem is that I
> have a directory (/mnt/media) which has subdirectories (Movies, TV,
> Trailers, etc.). I put things in those directories from a variety of
> sources, MythTV being one of them. I want the mythtv user to have the
> same permissions as my regular user to read, write, create
> directories, etc. Currently, if I want my mythtv user jobs to be able
> to write a file in that directory, I have to change the ownership to
> mythtv:mythtv. I don't know what else to do.
>
> I'm sorry if this comes off as seriously noobish. I can't help it.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
This is a bit more elegant solution
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)
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)
Most distributions enable ACL's by default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20110205/fc9ab9af/attachment.htm>
More information about the mythtv-users
mailing list