[Openvas-commits] r7877 - in trunk/openvas-scanner: . tools
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jun 1 15:13:08 CEST 2010
Author: mwiegand
Date: 2010-06-01 15:13:07 +0200 (Tue, 01 Jun 2010)
New Revision: 7877
Modified:
trunk/openvas-scanner/ChangeLog
trunk/openvas-scanner/tools/openvas-mkcert-client.in
Log:
* tools/openvas-mkcert-client.in: Create the openvas users directory
if installing the new user is requested and the directory does not
exist.
Modified: trunk/openvas-scanner/ChangeLog
===================================================================
--- trunk/openvas-scanner/ChangeLog 2010-06-01 11:02:32 UTC (rev 7876)
+++ trunk/openvas-scanner/ChangeLog 2010-06-01 13:13:07 UTC (rev 7877)
@@ -1,3 +1,9 @@
+2010-06-01 Michael Wiegand <michael.wiegand at greenbone.net>
+
+ * tools/openvas-mkcert-client.in: Create the openvas users directory
+ if installing the new user is requested and the directory does not
+ exist.
+
2010-05-27 Felix Wolfsteller <felix.wolfsteller at greenbone.net>
* openvassd/ntp_11.c (files_add_translation): Adressed compiler
Modified: trunk/openvas-scanner/tools/openvas-mkcert-client.in
===================================================================
--- trunk/openvas-scanner/tools/openvas-mkcert-client.in 2010-06-01 11:02:32 UTC (rev 7876)
+++ trunk/openvas-scanner/tools/openvas-mkcert-client.in 2010-06-01 13:13:07 UTC (rev 7877)
@@ -121,8 +121,8 @@
if [ "$R" = `echo "y"` ]; then
USERSDIR="$localstatedir/lib/openvas/users"
if [ ! -d "$USERSDIR" ]; then
- echo "Could not access OpenVAS scanner user directory ($USERSDIR)."
- exit 1
+ mkdir -p $USERSDIR
+ chmod 755 $USERSDIR
fi
else
USERSDIR=""
More information about the Openvas-commits
mailing list