[mythtv-users] Permissions problem with mythweb??

Chris Delis chris at delis.net
Mon Nov 3 20:34:53 EST 2003


What does "ls -la /var/www/mythweb" show?  

Here's mine (a portion of it, anyway):

   drwxrwxr-x    3 cedelis  www-data     4096 Oct  3 18:12 image_cache/
   drwxrwxr-x    3 cedelis  www-data    12288 Nov  2 23:47 php_sessions/

You need the following directories:

   /var/www/mythweb/image_cache
   /var/www/mythweb/php_sessions

If they are not writable by your webserver, then you have a problem.

   chmod 775 /var/www/mythweb/image_cache
   chmod 775 /var/www/mythweb/php_sessions

...should do it.


-----
chris delis
chris delis.net

On Mon, 3 Nov 2003, Steven Sartorius wrote:

> This is probably a simple problem but it's been bugging me for awhile
> now....
> 
> I'm running on a Debian system with (obviously) both apache and php4
> installed.  The apache user under Debian is www-data.  I've installed
> mythweb as per the instructions in the README file, including changing all
> permissions to reflect the www-data user.  When I connect to my web server
> the mythweb page comes up fine but with three error messages right at the
> top:
> 
> Warning at /var/www/mythweb/includes/init.php, line 89:
> stat failed for image_cache/. (errno=13 - Permission denied)
> Warning at /var/www/mythweb/includes/init.php, line 89:
> stat failed for image_cache/.. (errno=13 - Permission denied)
> Warning at /var/www/mythweb/themes/Default/theme.php, line 14:
> Cannot add header information - headers already sent by (output started at
> /var/www/mythweb/includes/errors.php:68)
> 
> Mythweb is usable but these errors are bugging me...any ideas??
> 
> Thanks,
> 
> Steve
> 
> 
> 
> 



More information about the mythtv-users mailing list