For the record...on all of my CentOS 5 and 5.1 boxes it stuck with the
modified group.
On Sat, May 17, 2008 at 11:21 AM, Krash, Paul <user-3e9d978365e3@xymon.invalid> wrote:
Mr. Luthman wrote:
Can you give us all some details on how do to that?
Sure!
Here is the default script from Centos5.1 with the chmod command:
#/etc/cron.daily/logrotate
#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with
[$EXITVALUE]"
fi
/bin/chmod 755 /var/log/messages
exit 0
Notice that this makes /var/log/messages world readable. :-O
But I digress. :-)
Best,
PKrash, temporarily working off a Winserver, sorry for any Outlook
mangling.
This e-mail and any documents accompanying it may contain legally
privileged and/or confidential information belonging to Exegy, Inc. Such
information may be protected from disclosure by law. The information is
intended for use by only the addressee. If you are not the intended
recipient, you are hereby notified that any disclosure or use of the
information is strictly prohibited. If you have received this e-mail in
error, please immediately contact the sender by e-mail or phone regarding
instructions for return or destruction and do not use or disclose the
content to others.
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer