[mythtv-users] Recording Permissions Problem

Geoff B geoffbon at gmail.com
Wed May 16 03:30:54 UTC 2012


On Tue, May 15, 2012 at 11:18 PM, Michael T. Dean wrote:

> On 05/15/2012 10:06 PM, Geoff B wrote:
>
>> Hi All,
>>
>> I'm running Mythbuntu 12.04 x64, with all storage directories pointing to
>> directories on a NAS (Thecus N4100PRo).
>> I'm mounting the NAS locally using NFS, with this:
>> mount -o soft,intr,rsize=8192,wsize=**8192 gromit:/raid0/data/_NAS_NFS_**Exports_/mythtv
>> /mnt/nfs
>>
>
> FWIW, you probably shouldn't specify sizes, anymore.  Modern kernels
> choose appropriate sizes--which will likely be /much/ bigger and give much
> better performance than the one you've specified.
>
> Also, if you do Live TV, you may need to use actimeo of 0 or 1:
>
> http://www.mythtv.org/docs/**mythtv-HOWTO-23.html#ss23.8<http://www.mythtv.org/docs/mythtv-HOWTO-23.html#ss23.8>
>
>
> Thanks for that - I'll remove the sizes, and play with the actimeo
setting.

>
> It mounts correctly, but I am unable to play recordings because of a
>> permission problem; the recording and png files appear as:
>> -rwxrwxrwx+ 1 mythtv mythtv 1267934040 May 15 19:44
>> 1476_20120515193000.mpg*
>> On the NAS, the directory is exported using:
>> "Guest system root account will have full access to this share
>> (root:root)."
>>
>> When I try and play these, I get a message to the effect of:
>> "Recording unavailable: <title><subtitle> The file for this recording can
>> not be found"
>>
>> I am also unable to play these in VLC.
>>
>> If I do a
>> sudo chown mythtv:users *
>> ...then this fixes it.
>>
>> What am I doing wrong?
>>
>
> Are directory permissions (of all leading directories) good?
>
> I'm not sure to be honest; do you mean that the entire directory chain
should be mythtv:users?
Right now I have:

/mnt :
drwxr-xr-x   3 root root  4096 May  5 18:15 mnt/

/mnt/nfs :
drwxr-xr-x  4 root root 4096 May  6 01:06 nfs/

/mnt/nfs/mythtv :
drwxrwx---+ 12 mythtv users 4096 May  4 18:52 mythtv/

/mnt/nfs/mythtv/recordings :
drwxrwx---+  2 mythtv users 20480 May 15 23:13 recordings/

Thanks,
Geoff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120515/9c5b4513/attachment.html>


More information about the mythtv-users mailing list