[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache2: Could not open configuration file /etc/apache2/apache2.conf: Permission denied



> 
> ls -l /etc/apache2/apache2.conf
> -rw-r--r-- 1 root root 7224 jun  2 10:01 /etc/apache2/apache2.conf
> 
> 
> Getting nuts.

  Probably the permissions on /etc/apache2, or /etc are broken for the
 user www-data.

  Assuming you have sudo installed you can become "www-data", and test:

    sudo su - www-data -s /bin/sh
    cd /etc/
    cd apache2
    cat apache2.conf

Steve
-- 


Reply to: