nginx+Debian Squeeze+ISPCFG3 permission problem

Discussion in 'HOWTO-Related Questions' started by Ovidiu, Jan 11, 2013.

  1. Ovidiu

    Ovidiu Active Member

    Hi there,

    I followed this tutorial: http://www.howtoforge.com/perfect-s...n-6.0-with-bind-dovecot-and-nginx-ispconfig-3

    It seems ISPCFG3 by default gives these permissions to the web folder:

    Code:
    drwx--x--- 8 web1 client2   4096 Jan  8 16:08 web
    which results in my nginx logs being full of these:
    Code:
    2013/01/11 09:48:08 [crit] 27109#0: *5 open() "/var/www/pacura.ru/web/" failed (13: Permission denied), client: 111.73.46.11, server: pacura.ru, request: "GET / HTTP/1.0", host: "pacura.ru", referrer: "http://pacura.ru/"
    If I however manually do a
    Code:
    chmod -R 755 web/
    those errors are gone. This last until I change something in my vhost config via the ISPCFG panel and its back.

    Are the defaults wrong or is this just me having a problem?

    P.S: the vhost is running a wordpress site.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    It's safe to ignore these nginx warnings.
     

Share This Page