This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to install on CentOS 6.6 "install.sh: line 38: sophos-av/install.sh: Permission denied"

Hi,

I'm trying to install Antivirus 9.10 on our CentOS 6.6 webserver, but failing miserably so far. The error that keeps re-occuring is:

install.sh: line 38: sophos-av/install.sh: Permission denied

I've unpacked the tarball in /tmp, but this is set to noexec. So I've also tried /etc/ and /opt/, but the same error appears. I'm no linux expert, so any help will be much appreciated!

I've made sure the directory and the files are all executable, but this doesn't seem to be the problem.

Line 38 of "install.sh" contains the following code:

sophos-av/install.sh "$@"

And for clarity, here's the surrounding code:

export SOPHOS_INSTALL_TMP
cd $SOPHOS_INSTALL_TMP
tar xf "$BASEDIR/sav.tar"
[ -f "$BASEDIR/uncdownload.tar" ] && tar xf "$BASEDIR/uncdownload.tar"
[ -f "$BASEDIR/talpa.tar" ] && tar xf "$BASEDIR/talpa.tar"
sophos-av/install.sh "$@"
RETCODE=$?
cd /
rm -rf $SOPHOS_INSTALL_TMP
exit $RETCODE

 

Help me community!



This thread was automatically locked due to age.
Parents Reply
  • Hi Pixelkicks, when we've seen this issue before for CentOS installations it's been because the location the install is being launched from was previously set to noexec and when the problem remained after this was changed a reboot was necessary which resolved this. I hope this resolves the issue.
Children
No Data