Hi ISP Community,
I want to give shell users access to their log files. They see the log files folder redirection but when they try to open they get the error:
Code:
xxxxxx_shell@foo.bar:/$ ls -lar
total 732
drwx--x--- 10 xxxxxx_shell client2 4096 Jun 27 16:11 web
drwxr-x--x 3 root root 4096 Jun 12 08:57 var
drwxr-x--x 6 root root 4096 Jun 12 08:57 usr
drwxrwxrwx 2 xxxxxx_shell client2 692224 Jun 28 07:54 tmp
drwxr-x--x 2 xxxxxx_shell client2 4096 Jun 12 08:38 ssl
lrwxrwxrwx 1 root root 32 Jun 12 08:38 log -> /var/log/ispconfig/httpd/foo.bar
lrwxrwxrwx 1 root root 4 Jun 12 08:57 lib64 -> /lib
drwxr-x--x 3 root root 4096 Jun 12 08:57 lib
drwxr-x--x 4 root root 4096 Jun 12 08:57 home
drwxr-x--x 6 root root 4096 Jun 12 08:57 etc
drwxr-x--x 2 root root 4096 Jun 12 08:57 dev
drwxr-x--x 2 xxxxxx_shell client2 4096 Jun 12 08:38 cgi-bin
drwxr-x--x 2 root root 4096 Jun 12 08:57 bin
drwx------ 2 xxxxxx_shell client2 4096 Jun 12 08:57 .ssh
-rwxr-xr-x 1 xxxxxx_shell client2 0 Jun 28 07:12 .bash_history
drwxr-xr-x 14 root root 4096 Jun 12 08:57 ..
drwxr-xr-x 14 root root 4096 Jun 12 08:57 .
Code:
xxxxxx_shell@foo.bar:/$ cd log
bash: cd: log: No such file or directory
or
Code:
xxxxxx_shell@foo.bar:/$ cd /var/log/ispconfig/httpd/foo.bar
bash: cd: /var/log/ispconfig/httpd/foo.bar: No such file or directory
How can i fix this?
Recent comments
1 day 3 hours ago
1 day 10 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 27 min ago
2 days 9 hours ago
2 days 10 hours ago
2 days 14 hours ago
2 days 18 hours ago
2 days 19 hours ago