Patch for scanning JavaScript as a non-Administrator user on OS X

Downloadable files


Abstract

When scanning JavaScript as a standard (non-Administrator) user on OS X in IBM Security AppScan Source, you may encounter scan errors related to permissions.

Download Description

This problem occurs when AppScan Source attempts to write log files to directories that you do not own. An example of the error is:

log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: SummaryGenComparison.log (Permission denied)

Prerequisites

Installation Instructions

Ensure that all AppScan Source client applications have been exited or shut down and then follow these instructions. In addition, ensure that all commands in the instructions are run with administrative credentials.

  1. Copy the updateJS.sh patch script to <install_dir>/bin, where <install_dir> is the location of your AppScan Source installation. By default, this is /Applications/AppScanSource.app/bin - and the command to perform the copy to the default location would be:
    sudo cp updateJS.sh /Applications/AppScanSource.app/bin
  2. Ensure that the script has execute permission. For example, issue this command:
    sudo chmod +x /Applications/AppScanSource.app/bin/updateJS.sh
  3. Run the script. For example:
    sudo /Applications/AppScanSource.app/bin/updateJS.sh

Download package

Patch script:
updateJS.shupdateJS.sh

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Security AppScan Source
Scan: Java/JSP/JavaScript

Software version:

8.7

Operating system(s):

Mac OS X

Reference #:

4034620

Modified date:

2013-03-27

Translate my page

Machine Translation

Content navigation