Skip to content

Commit

Permalink
Merge pull request #326 from imperva/chown-improv-linda
Browse files Browse the repository at this point in the history
Sonar upgrade improvement - ran chown only on newly extracted tarball dir instead of the entire apps dir
  • Loading branch information
Linda Nasredin authored Dec 4, 2023
2 parents 50f80f6 + fc8611a commit 33d6d74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ echo "Tarball extraction directory: $EXTRACTION_DIR"
function extract_tarball() {
echo "Extracting tarball..."
sudo tar -xf $TARBALL_FILE_NAME -gz -C $EXTRACTION_BASE_DIR
sudo chown -R sonarw:sonar $EXTRACTION_BASE_DIR
sudo chown -R sonarw:sonar $EXTRACTION_DIR
echo "Extracting tarball completed"
}

Expand Down

0 comments on commit 33d6d74

Please sign in to comment.