[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop:[2014]
From:       eoberlander () users ! sourceforge ! net
Date:       2008-10-23 16:10:32
Message-ID: E1Kt2lc-0007wC-I5 () c3vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Revision: 2014
          http://ipcop.svn.sourceforge.net/ipcop/?rev=2014&view=rev
Author:   eoberlander
Date:     2008-10-23 16:10:32 +0000 (Thu, 23 Oct 2008)

Log Message:
-----------
Modify script to change permissions on squid/access.log file. Fixes SF Bug 2176286. \
If file did not exist, and squid was started with logging on, squid would create the \
file with 640 permissions, which the GUI log viewer could not read, and the log \
display would be empty...

Modified Paths:
--------------
    ipcop/trunk/src/rc.d/rc.flash.up

Modified: ipcop/trunk/src/rc.d/rc.flash.up
===================================================================
--- ipcop/trunk/src/rc.d/rc.flash.up	2008-10-22 20:46:58 UTC (rev 2013)
+++ ipcop/trunk/src/rc.d/rc.flash.up	2008-10-23 16:10:32 UTC (rev 2014)
@@ -59,8 +59,9 @@
 
 if [ ! -e /var/log/squid ]; then
     mkdir /var/log/squid
-    touch /var/log/squid/access.log
 fi
+touch /var/log/squid/access.log
+chmod 644 /var/log/squid/access.log
 chown -R squid:squid /var/log/squid
 
 if [ ! -e /var/log/time ]; then


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic