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. Code: web11@websrv1:~$ 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/domain.se 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 web11@websrv1:~$ cd log web11@websrv1:~/log$ ls ls: cannot open directory .: Permission denied web11@websrv1:/var/log/ispconfig/httpd/domain.se$ ls -l ls: cannot open directory .: Permission denied below is permission information. Code: root@websrv1:/var/log/ispconfig/httpd/domain.se# 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..
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.