[mythtv-users][Diagnosed] MythWeb: Permissions

David Whyte david.whyte at gmail.com
Sun May 22 08:35:12 UTC 2005


okay, it seems this *is* a file size issue.  Apache and/or PHP can
only serve a maximum size of 2GB.  This is known to just about
everyone who needs to know (apache, php, redhat, debian blah blah) and
should be in Apache 2.1/2.2 and php 5.1.  Until then, I am stuck,
given I am an RPM boy :P

Cheers,
Dave

On 5/22/05, David Whyte <david.whyte at gmail.com> wrote:
> And now I have opened the file from the apache directory listings I
> can open it in MythWeb, but none of the others. :\
> 
> On 5/22/05, David Whyte <david.whyte at gmail.com> wrote:
> > And in a complete twist of funniness :\ if I click on the apache
> > listing of the directory (i.e.
> > http://myth/mythweb/video_dir/<filename>.nuv, I can access the file!!!
> >  Its only when I click the link in mythweb I have the issue :?
> >
> > On 5/22/05, David Whyte <david.whyte at gmail.com> wrote:
> > > =D
> > >
> > > I like to drag up old threads :P
> > >
> > > I am still having a truck load of trouble with mythweb and
> > > permissions.  I can see the directory listing, but when I click on the
> > > file, I get the 403.  I also cannot seem to download the videos in the
> > > mythvideo webpage as the video_url is pointing to my recordings
> > > folder, which is not the same as my videos folder.
> > >
> > > [root at myth myth]# ls -al
> > > total 17240
> > > drwxr-xr-x   8 root   root      4096 May 12 21:48 .
> > > drwxr-xr-x  28 root   root      4096 May 20 18:38 ..
> > > drwxr-xr-x   2 mythtv apache       6 May 17 21:44 buffer
> > > drwxr-xr-x   5 mythtv apache      54 Feb  8 23:23 music
> > > -rw-r--r--   1 mythtv apache 2698106 May 22 02:59 mythtv_backup.0.sql.gz
> > > -rw-r--r--   1 mythtv apache 2503709 May 16 02:59 mythtv_backup.1.sql.gz
> > > -rw-r--r--   1 mythtv apache 2664038 May 17 02:59 mythtv_backup.2.sql.gz
> > > -rw-r--r--   1 mythtv apache 2327379 May 11 02:59 mythtv_backup.3.sql.gz
> > > -rw-r--r--   1 mythtv apache 2390281 May  5 02:59 mythtv_backup.4.sql.gz
> > > -rw-r--r--   1 mythtv apache 2391611 Apr 29 02:59 mythtv_backup.5.sql.gz
> > > -rw-r--r--   1 mythtv apache 2641324 May 21 02:59 mythtv_backup.6.sql.gz
> > > drwxr-xr-x   2 mythtv apache      46 May 12 21:52 posters
> > > drwxrwxrwx   2 mythtv apache    8192 May 22 14:59 recordings
> > > drwxrwxrwx   2 mythtv apache     122 Jan 25 20:49 stream
> > > drwxr-xr-x   2 mythtv apache    4096 May 14 22:07 videos
> > > [root at myth myth]#
> > >
> > > Any help is greatly appreciated :D
> > >
> > > Whytey
> > >
> > >
> > >
> > > On 1/12/05, Thom Sturgill <tsturgil at ircc.net> wrote:
> > > > There may be a file size issue, but primarily there is probably a
> > > > permissions issue.
> > > >
> > > > The permissions of the symlink are not important. The permissions on the
> > > > referenced file/directory are. Apache (assuming that is the group your
> > > > httpd runs in) MUST have both read and execute permissions on the
> > > > directory.
> > > > ie /myth/recordings should be something like:
> > > >
> > > > drwxr-x--- mythtv apache .....  (apache group has explicit permissions)
> > > > or
> > > > drwxr-xr-x mythtv mythtv .....  ( apache has permissions through world)
> > > >
> > > > The same is true of /myth itself, though since music is working, it has to
> > > > be ok.
> > > >
> > > >
> > > > > When I click on the NUV file link in the recorded programs page of
> > > > > mythweb I get the following error...
> > > > >
> > > > > "You don't have permission to access
> > > > > /mythweb/video_dir/1002_20050110223000_20050110233000.nuv on this
> > > > > server.
> > > > >
> > > > > Additionally, a 403 Forbidden error was encountered while trying to
> > > > > use an ErrorDocument to handle the request."
> > > > >
> > > > > the video_dir folder is a symbolic link to my /myth/recordings
> > > > > directory.  The ls of this is...
> > > > >
> > > > > [root at myth recordings]# ls -al
> > > > > total 14216604
> > > > > drwxr-xr-x  2 root root       4096 Jan 11 22:05 .
> > > > > drwxr-xr-x  5 root root         48 Jan 11 21:39 ..
> > > > > -rw-r--r--  1 root root 2588356384 Jan 11 21:46
> > > > > 1000_20050108203000_20050108212500.nuv
> > > > > -rw-r--r--  1 root root      20877 Jan 11 21:39
> > > > > 1000_20050108203000_20050108212500.nuv.png
> > > > > -rw-r--r--  1 root root 8900377057 Jan 11 21:45
> > > > > 1002_20041231221000_20050101010500.nuv
> > > > > -rw-r--r--  1 root root      18903 Jan 11 21:45
> > > > > 1002_20041231221000_20050101010500.nuv.png
> > > > > -rw-r--r--  1 root root 3050347611 Jan 11 21:49
> > > > > 1002_20050110223000_20050110233000.nuv
> > > > > -rw-r--r--  1 root root      27005 Jan 11 21:39
> > > > > 1002_20050110223000_20050110233000.nuv.png
> > > > > -rw-r--r--  1 root root    6174967 Jan 11 21:45
> > > > > 1004_20041228212700_20041228223500.nuv.tmp
> > > > > -rw-r--r--  1 root root   12464092 Jan 11 21:39
> > > > > 10_20041108232500_20041108233000.nuv.tmp
> > > > > -rw-r--r--  1 root root           Jan 11 22:31 nfslockfile.lock
> > > > > [root at myth recordings]#
> > > > >
> > > > > the ls of the symbolic link in the /var/www/html/mythweb directory is...
> > > > > lrwxrwxrwx   1 root   root      17 Jan 11 22:39 video_dir ->
> > > > > /myth/recordings/
> > > > >
> > > > >
> > > > > I am running 0.16 and FC2 as per jarods guide.  It used to work, but I
> > > > > deleted the mythweb folder one day be accident and I used synaptic to
> > > > > 'reinstall' the mythweb package.
> > > > >
> > > > > Any help appreciated.
> > > > > Dave
> > > > > --
> > > > > GMAIL is 'da bomb baby....YEAH
> > > > >
> > > > >
> > > > > ------------------------------
> > > > >
> > > >
> > > >
> > > > --
> > > > Indian River Community College
> > > > Internet Services
> > > >
> > >
> > >
> > > --
> > > --
> > > GMAIL is 'da bomb baby....YEAH
> > >
> > > I have GMail invites, if you want one, email me direct.
> > >
> >
> >
> > --
> > --
> > GMAIL is 'da bomb baby....YEAH
> >
> > I have GMail invites, if you want one, email me direct.
> >
> 
> 
> --
> --
> GMAIL is 'da bomb baby....YEAH
> 
> I have GMail invites, if you want one, email me direct.
> 


-- 
-- 
GMAIL is 'da bomb baby....YEAH

I have GMail invites, if you want one, email me direct.


More information about the mythtv-users mailing list