[mythtv-users] Mythweb Permissions
Geoff B
geoffbon at gmail.com
Tue Jul 3 05:20:25 UTC 2012
Hi all,
I'm having ongoing problems with Mythweb, with the same symptoms described
in the earlier thread:
http://www.mythtv.org/pipermail/mythtv-users/2012-July/336246.html
Namely, trying to download any recording file results in the system not
being able to find the file:
1435_20120617012900.mpg does not exist in any recognized storage group
directories for this host.
I figured it must be permissions, but I'm having trouble keeping track of
all the directories that I need to check and tried to trace them through
(snipping everything except for recordings links, for now). Can someone
tell me if the following looks right?
The mythweb directories (as I understand them!) - are there any others I
should check:
geoff at bertha:/var/lib/mythtv$ ls -la /var/www/mythweb
lrwxrwxrwx 1 root root 25 Jul 2 20:04 /var/www/mythweb ->
/usr/share/mythtv/mythweb
(is this even relevant?)
geoff at bertha:/var/lib/mythtv$ ls -la /var/www/mythweb/data/
lrwxrwxrwx 1 root root 26 Jul 3 00:04 recordings ->
/var/lib/mythtv/recordings
As I understand it, I can't change the permissions of this link; doing so
acts on the target.. which is:
geoff at bertha:/var/lib/mythtv$ ls -la /var/lib/mythtv/
drwxrwsrwx 2 mythtv mythtv 4096 May 5 18:05 recordings
The files are actually stored using Storage Groups, in a NAS mounted on
/mnt/nfs/mythtv. BEFORE I mount it:
geoff at bertha:/var/lib/mythtv$ ls -al /mnt/nfs/
drwxrwxrwx 2 mythtv users 4096 May 5 18:45 mythtv
AFTER mounting:
geoff at bertha:/var/lib/mythtv$ ls -al /mnt/nfs/
drwxrwxrwx+ 14 mythtv users 4096 Jun 22 23:32 mythtv
geoff at bertha:/var/lib/mythtv$ ls -al /mnt/nfs/mythtv
drwxrwxrwx+ 2 mythtv users 20480 Jul 3 00:57 recordings
Finally, the file in question (but it behaves the same for all videos):
geoff at bertha:/var/lib/mythtv$ ls -al
/mnt/nfs/mythtv/recordings/1435_20120617012900.mpg
-rw-r--r--+ 1 mythtv mythtv 17988312256 Jun 17 05:06
/mnt/nfs/mythtv/recordings/1435_20120617012900.mpg
I'm on a combined FE/BE, running Mythbuntu 0.25-fixes.
Any help would be appreciated!
Cheers,
Geoff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120703/08411618/attachment.html>
More information about the mythtv-users
mailing list