system policy: java(4297) deny(1) file-write-mode on mac os

35 Views Asked by At

In my Project I am trying to install one install4j build there osquery.app also gets installed.

OS:- Mac os Ventura

In fresh install osquery.app gets installed properly do not get any error in my folder .But when I try upgrade scenario osquery.app in console gives this error

system policy: java(4297) deny(1) file-write-mode /Library/Application Support/test/osquery.app

Tried SIP disable it works there.But now I want it to work in SIP enable. Can anyone help? I am not understanding is it related to install4j or osquery.app or java

1

There are 1 best solutions below

4
seph On

"osquery" usually refers to https://osquery.io/ which is not a java program. This is quite unclear.

Furthermore, disabling SIP is not recommended on macOS