Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 116188 Details for
Bug 174512
clamav init script chowns freshclam.log to wrong user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
clamav.rc.patch
clamav.rc.patch (text/plain), 855 bytes, created by
Jeremy Huddleston (RETIRED)
on 2007-04-13 20:25:05 UTC
(
hide
)
Description:
clamav.rc.patch
Filename:
MIME Type:
Creator:
Jeremy Huddleston (RETIRED)
Created:
2007-04-13 20:25:05 UTC
Size:
855 bytes
patch
obsolete
>Index: clamd.rc >=================================================================== >RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v >retrieving revision 1.14 >diff -p -u -4 -r1.14 clamd.rc >--- clamd.rc 10 Apr 2007 20:13:39 -0000 1.14 >+++ clamd.rc 13 Apr 2007 20:19:54 -0000 >@@ -127,13 +127,14 @@ logfix() { > if [ "${START_FRESHCLAM}" = "yes" ]; then > # fix freshclam log permissions > # (might be clobbered by logrotate or something) > logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf` >+ local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf` > if [ -n "${logfile}" -a -n "${clamav_user}" ]; then > if [ ! -f "${logfile}" ]; then > touch ${logfile} > fi >- chown ${clamav_user} ${logfile} >+ chown ${freshclam_user} ${logfile} > chmod 640 ${logfile} > fi > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 174512
: 116188