<div dir="ltr">I have the mount point permissions set to mythtv for user and group. But when the partition gets mounted it goes to the mystery user:group.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Aug 19, 2013 at 1:37 PM, Joseph Fry <span dir="ltr">&lt;<a href="mailto:joe@thefrys.com" target="_blank">joe@thefrys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">&gt; My backend died a week ago and I have been trying to get a new one up and<br>
&gt; running. I think I have everything working only I can&#39;t write to the storage<br>
&gt; directory.<br>
&gt;<br>
&gt; I am using mythbuntu 12.04 from a clean install.<br>
&gt;<br>
&gt; The problem is I can&#39;t figure out how to get my storage partition to mount<br>
&gt; at boot time with the proper permissions. If I set it so it&#39;s user:group are<br>
&gt; mythtv:mythtv are set in fstab booting hangs and asks if you want to skip or<br>
&gt; fix the problem.<br>
&gt;<br>
&gt; I have spent the better part of half a day on this (I know this is bad)<br>
&gt; googling and rebooting (good thing I&#39;m using ssd) without success.<br>
&gt;<br>
&gt; Unfortunately since I was having so much trouble I tried using<br>
&gt; a gui program &quot;Storage Device Manager&quot; which I think is called PySDM. This<br>
&gt; worked but it set the partition to some weird user and group names  that I<br>
&gt; can&#39;t recall now ( I am at work). Now, for the life of my, I can&#39;t figure<br>
&gt; out how to prevent the drive from mount with this user:group. The following<br>
&gt; are the pertinent lines for my fstab file. Now, I can&#39;t even boot my system<br>
&gt; because I deleted my fstab file and rebooted thinking that it would get<br>
&gt; replaced with a default one. I can really screw thins up!<br>
&gt;<br>
&gt; /dev/sdb1  /var/lib/mythtv/Recordings1  xfs   users,user           0  0<br>
&gt; /dev/sdb2  /var/lib/mythtv/Recordings2  xfs   users,user           0  0<br>
&gt; /dev/sdc1  /var/lib/mythtv/Videos1        xfs   users,user           0  0<br>
&gt; /dev/sdc2  /var/lib/mythtv/Recordings3  xfs   users,user           0  0<br>
&gt;<br>
&gt; Could this be related to the fact that these folders directly mount<br>
&gt; partitions? I don&#39;t see how this entry assigns the user:group I previously<br>
&gt; mentioned.<br>
&gt;<br>
&gt; So, how do you mount a partition at boot with a non-root user:group<br>
&gt; ownership? Sorry for the wordy email and if it isn&#39;t completely<br>
&gt; understandable but I am getting desperate.<br>
<br>
</div></div>Umm.. are you just mounting a local drive?   Then you just need to set<br>
the permissions on the mount point.<br>
<br>
Once it&#39;s mounted, you may need to reset ownership on the files with<br>
chown if your UID&#39;s and GID&#39;s are different than they were before.<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br></div>