Rick Cooper wrote:

> Just a note, 
> 
> I had to change
> 
>       --trust-model always TO --always-trust
> 
> On several of my older servers (--always-trust works even on new but not on
> older versions of gpg)

My problem with this is the GPG man page states:

--always-trust
   Identical to --trust-model always. This option is deprecated.

and my concern is when will the "--always-trust" flag no longer be
supported, and is it possibly already not supported with the most
current versions of GPG?

> And
> 
> find "$clam_dbs" -type f -exec chmod 0644 {} +
> find "$work_dir" -type f -exec chmod 0644 {} +
> 
> To
> 
> find "$clam_dbs" -type f -exec chmod 0644 {} \;
> find "$work_dir" -type f -exec chmod 0644 {} \;
> 
> On all of my servers, not even CENTOS 5.2 liked the first syntax at all

I'm not sure what version of "find" started supporting the "-exec {} +"
variant, but the man page states:

-exec command {} +
   This variant of the -exec action runs the specified command on the
   selected files, but the command line is built by appending each
   selected file name at the end; the total number of invocations  of
   the command will be much less than the number of matched files.  The
   command line is built in much the same way that xargs builds its
   command lines.  Only one instance of '{}' is allowed within the
   command.  The command is executed in the starting directory.

I guess I will have to change this to "-exec {} \;" with my next update,
even though it's much slower than the "-exec {} +" variant.

Thanks for the feedback!

Bill
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to