View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Tue Jul 23, 2013 7:41 am Post subject: permissions/ownership for /var/log/apache2? |
|
|
Can anyone tell me the default permissions and ownership for /var/log/apache2 as well as the log files in that directory? |
|
Back to top |
|
|
youvegotmoxie n00b
Joined: 17 Dec 2007 Posts: 5
|
Posted: Tue Jul 23, 2013 4:21 pm Post subject: |
|
|
Code: |
snafu-funtoo mike # ls -la /var/log/
total 243
drwxr-xr-x 7 root root 15 Jul 22 18:32 .
drwxr-xr-x 15 root root 17 Jul 22 17:28 ..
drwxr-x--- 2 apache apache 8 Jul 23 11:28 apache2
drwxr-xr-x 2 root root 6 Jul 22 17:19 cups
-rw-r--r-- 1 root root 103759 Jul 23 11:44 denyhosts
-rw-r----- 1 root root 18315 Jul 23 11:44 dmesg
-rw-rw---- 1 portage portage 3623 Jul 23 11:26 emerge-fetch.log
-rw-rw---- 1 portage portage 115971 Jul 23 12:17 emerge.log
-rw-r--r-- 1 root root 292292 Jul 23 11:46 lastlog
-rw------- 1 root root 976611 Jul 23 12:20 messages
drwxr-xr-x 2 mysql mysql 6 Jul 22 16:32 mysql
drwxrwsr-x 3 portage portage 3 Jul 22 11:42 portage
drwxr-xr-x 3 root root 6 Jul 22 17:34 samba
-rw------- 1 root root 64064 Jul 22 22:04 tallylog
-rw-rw-r-- 1 root utmp 293376 Jul 23 11:46 wtmp
snafu-funtoo mike # ls -la /var/log/apache2
total 9
drwxr-x--- 2 apache apache 8 Jul 23 11:28 .
drwxr-xr-x 7 root root 15 Jul 22 18:32 ..
-rw-r--r-- 1 root root 0 Jul 23 11:27 .keep_www-servers_apache-2
-rw-r--r-- 1 root root 3906 Jul 23 11:53 access_log
-rw-r--r-- 1 root root 9414 Jul 23 11:50 error_log
-rw-r--r-- 1 root root 0 Jul 22 18:49 ssl_access_log
-rw-r--r-- 1 root root 0 Jul 22 18:49 ssl_error_log
-rw-r--r-- 1 root root 0 Jul 22 18:49 ssl_request_log
snafu-funtoo mike #
|
|
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Fri Jul 26, 2013 6:37 am Post subject: |
|
|
Perfect, thank you! |
|
Back to top |
|
|
|