sThomas184513 (Community Member) asked a question.

Scan does not work with Jenkins

An error occurred: SecurityException: Unacceptable config file directory path: ?/.srcclr. Try --debug for more information.

Getting this error while running the curl -sSL https://download.sourceclear.com/ci.sh script inside a docker container

 


VCode likes this.
  • Hello @sThomas184513 (Community Member)​ ,

     

    We would advise that the user running the scan has a home directory, and that the environment variable HOME points to an existing and accessible directory. Another option is to add the following commands before the scan:

     

    echo user=$USER home=$HOME

    finger $USER

    touch $HOME/test_file

    rm -f $HOME/test_file

     

    The first two are just to check that the information printed is consistent. The last two are I/O tests to the directory pointed to by HOME.

     

    If the information we’ve provided you has helped resolve your challenge (or answered your question), we would appreciate it if you could mark the response that was helpful with “Select as Best”. This will help other Community members who come across your question as a similar challenge they might be facing and your best answer will help them find the right solution as well.

     

    Jason

    Community Support Engineer

     

    Expand Post
  • sThomas184513 (Community Member)

    Hi Jason. Thanks for the support. I t got resolved when I set JAVA_OPTS to accessible path.

Topics (1)

No articles found
Loading

Ask the Community

Get answers, share a use case, discuss your favorite features, or get input from the community.