We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenBSD 6.8 amd64 clamav-unofficial-sigs v7.2.2 -> v7.2.5 (upgrade)
Noticed the following errors when running --upgrade:
--upgrade
# /usr/local/sbin/clamav-unofficial-sigs.sh --upgrade ################################################################################ eXtremeSHOK.com ClamAV Unofficial Signature Updater Version: v7.2.2 (2020-12-20) Required Configuration Version: v95 Copyright (c) Adrian Jon Kriel :: [email protected] ################################################################################ Loading config: /etc/clamav-unofficial-sigs/master.conf Loading config: /etc/clamav-unofficial-sigs/os.conf Loading config: /etc/clamav-unofficial-sigs/user.conf +++++++++++++++++++++++++++++++++++++++++++++++ NOTICE: GnuPG / signature verification disabled +++++++++++++++++++++++++++++++++++++++++++++++ Checking for updates ... *************************************** ALERT: Upgrading config from v95 to v97 *************************************** Downloading https://raw.githubusercontent.com/extremeshok/clamav-unofficial-sigs/master/config/master.conf stat: unknown option -- c usage: stat [-FLnq] [-f format | -l | -r | -s | -x] [-t timefmt] [file ...] Running update process chmod: invalid file mode: =========================================================================== ERROR: unable to set permissions on /etc/clamav-unofficial-sigs/master.conf ===========================================================================
GNU coreutils stat(1) supports -c --format=FORMAT but this is not portable; BSD uses -f format.
-c --format=FORMAT
-f format
I think this may provide the same output format as coreutils stat(1):
stat -f "%OLp" /etc/clamav-unofficial-sigs/master.conf 644
This syntax seems to work in OpenBSD, FreeBSD, and macOS. It matches the manual pages for NetBSD, DragonFly BSD and MirBSD.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
OpenBSD 6.8 amd64
clamav-unofficial-sigs v7.2.2 -> v7.2.5 (upgrade)
Noticed the following errors when running
--upgrade
:GNU coreutils stat(1) supports
-c --format=FORMAT
but this is not portable; BSD uses-f format
.I think this may provide the same output format as coreutils stat(1):
This syntax seems to work in OpenBSD, FreeBSD, and macOS. It matches the manual pages for NetBSD, DragonFly BSD and MirBSD.
The text was updated successfully, but these errors were encountered: