Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permissions/ownership for /var/log/apache2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 642

PostPosted: Tue Jul 23, 2013 7:41 am    Post subject: permissions/ownership for /var/log/apache2? Reply with quote

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
View user's profile Send private message
youvegotmoxie
n00b
n00b


Joined: 17 Dec 2007
Posts: 5

PostPosted: Tue Jul 23, 2013 4:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 642

PostPosted: Fri Jul 26, 2013 6:37 am    Post subject: Reply with quote

Perfect, thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum