chmod to 600 for all copies of cfgloc
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
c10b574c08
commit
444a3b4fff
@ -122,7 +122,7 @@ if (!(-e ($db2install)))
|
||||
else
|
||||
{
|
||||
$msg =
|
||||
"Cannot mount the site.db2installloc directory to get to the\n db2 code to install. Setup cannot continue.\n";
|
||||
"Cannot mount the site.db2installloc directory to get the db2 code to install. Setup cannot continue.\n";
|
||||
`logger -t xcat $msg`;
|
||||
exit(1);
|
||||
}
|
||||
@ -133,7 +133,7 @@ else
|
||||
`logger -t xcat $msg`;
|
||||
}
|
||||
|
||||
# get the cfgloc file, should be in /etc/xcat/cfgloc.db2 from xcatserver
|
||||
# get the cfgloc file,if linux should be in /etc/xcat/cfgloc.db2 from xcatserver
|
||||
# postscript
|
||||
$rc = &getcfgloc;
|
||||
if ($rc != 0)
|
||||
|
@ -25,7 +25,7 @@ export USEOPENSSLFORXCAT
|
||||
else
|
||||
mv /etc/xcat/cfgloc /etc/xcat/cfgloc.db2
|
||||
fi
|
||||
chmod 600 /etc/xcat/cfgloc
|
||||
chmod 600 /etc/xcat/cfgloc*
|
||||
# do not assume working directory, use the full path
|
||||
cp /xcatpost/_xcat/ca.pem /etc/xcat/cert/ca.pem
|
||||
kill -9 $CREDPID
|
||||
|
Loading…
Reference in New Issue
Block a user