[mythtv-users] Can't watch TV Permission Denied opening recording file despite chmod a+rwx

John Brown jb2904 at johnbrown.com.au
Sun Jul 1 08:02:53 UTC 2012


On a new installation I can't watch TV or record if I use a 2TB HD, but can if I use the boot disk, despite the recording folders on both drives having a+wrx permissions.

When trying to record to the 2TB drive the log (more attached) shows:

(/media/data/mythtv/recordings/1003_20120611121014.mpg:-1): Opening file '/media/data/mythtv/recordings/1003_20120611121014.mpg'.#012<http://code.mythtv.org/trac/ticket/12>#011<http://code.mythtv.org/trac/ticket/11>#011<http://code.mythtv.org/trac/ticket/11>#011<http://code.mythtv.org/trac/ticket/11>eno: Permission denied (13)

However, as stated above, that folder has wide open permissions:

$ ls -l /media/data/mythtv/

drwxrwxrwx 2 mythtv mythtv 4096 Jun 11 12:08 recordings

I am reporting this as a mythtv bug because every other application accesses this drive without a problem. I am at a loss.

I have attached my fstab in case mythtv is taking an exception to the way I have mounted the drive. If it is, then it shouldn't be.

If I change the recording folder to the boot SSD disk with the same permissions then it works fine:

# ls -l /users/mythtv

total 4 drwxrwxrwx 2 mythtv mythtv 4096 Jun 13 10:12 recordings

So the problem is something specific to mythtv accessing the 2TB HD.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120701/92359627/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fstab
Type: application/octet-stream
Size: 1204 bytes
Desc: fstab
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120701/92359627/attachment.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log extract.txt
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120701/92359627/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: version.txt
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120701/92359627/attachment-0001.txt>


More information about the mythtv-users mailing list