Permisson denied on log directory

Discussion in 'General' started by Blinkiz, Dec 2, 2010.

  1. Blinkiz

    Blinkiz New Member

    Hi there. I have a problem with my webbserver. All domains has a "log" folder which is a link to /var/log/ispconfig/httpd/<domain>. Problem is that the user, ftp or ssh, get's a "Permission denied" when trying to access that folder.

    I need help to troubleshoot this.
    Am using ISPConfig 3.0.3 on ubuntu 9.10 Server. I think jailshell is enabled.

    [email protected]:~$ ls -l
    total 16
    drwxr-x--x 2 web11 client16 4096 2010-05-26 16:22 cgi-bin
    lrwxrwxrwx 1 web11 client16   32 2010-05-26 16:22 log -> /var/log/ispconfig/httpd/
    drwxr-x--x 3 web11 client16 4096 2010-05-28 11:52 ssl
    drwxrwxrwx 2 web11 client16 4096 2010-05-26 16:22 tmp
    drwx--x--- 7 web11 client16 4096 2010-10-11 20:18 web
    [email protected]:~$ cd log
    [email protected]:~/log$ ls
    ls: cannot open directory .: Permission denied
    [email protected]:/var/log/ispconfig/httpd/$ ls -l
    ls: cannot open directory .: Permission denied
    below is permission information.
    [email protected]:/var/log/ispconfig/httpd/ ls -la
    total 4.1M
    drwxr-x--x  2 root  root     4.0K 2010-12-02 01:04 .
    drwxr-xr-x 11 root  root     4.0K 2010-12-01 21:04 ..
    -rw-r--r--  1 root  root      45K 2010-11-04 00:30 20101103-access.log.gz
    -rw-r--r--  1 root  root      38K 2010-11-05 00:30 20101104-access.log.gz
    -rw-r--r--  1 root  root      19K 2010-11-06 00:30 20101105-access.log.gz
    -rw-r--r--  1 root  root      15K 2010-11-07 00:30 20101106-access.log.gz
    -rw-r--r--  1 root  root      11K 2010-11-08 00:30 20101107-access.log.gz
    -rw-r--r--  1 root  root      44K 2010-11-09 00:30 20101108-access.log.gz
    ...... and so on..
    Last edited: Dec 2, 2010
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The directory can not be accessed by jailed users as it is a symlink and jailkit prevents the access to symlinked directories for security reasons. You should be able to access the files with ftp.
  3. Blinkiz

    Blinkiz New Member

    According to the user, looking in the folder with ftp results in a empty folder.

Share This Page