Bill Landry wrote: > After a discussion on the clamav-users list yesterday of an issue a > couple of script users were experiencing with write access to the > temporary directory, I made a change to the script to overcome this > issue. There are also a couple of other script modifications to make > the integer expression handling more consistent throughout the script. > > There is no new functionality, and thus no need to upgrade unless you > were experiencing the following error when running the script: > > ERROR: Can't write to temporary directory > > I have gotten confirmation from a couple of users that were experiencing > this error that the latest version of the script resolves the issue. As > usual, the updated script can be downloaded from: > > ftp://ftp.inetmsg.com/pub/unofficial-sigs.sh > > It should be available from the SaneSecuirty "Usage" page, as well, once > Steve has gotten a chance to upload it.
Okay, let's try this again. A new update has been posted that will first try "date +%s" and if that fails, then it will automatically fall back to a perl option. I didn't update the version number, just the version info: # Version 1.7c (updated 9/25/07 - Thanks to Dennis Peterson and Jan-Perter # Cornet for the perl solution for calculating seconds since epoch) # - Added timeout values to curl and rsync downloads in order to prevent # the script from hanging on a non-responsive signature host site. # - Apparently Solaris does not support "date +%s", which calculates # the number of seconds since epoch. This date function is used to # calculate when to do MBL downloads. A perl solution has been added # as a fall-back option. If "date +%s" is not supported and perl is # not found on the system, the script will report a warning message # and skip MBL updates, but the script will continue processing other # third-party signature updates. ftp://ftp.inetmsg.com/pub/unofficial-sigs.sh Thanks to Dennis Peterson and Jan-Perter Cornet for the perl (and awk/gwak) lessons, as well! I'm learning that it's never easy to make fully portable scripts, but as people continue to report issues, I'll continue looking for ways to do so. Bill _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html