\dita\DITA-OT\config\plugins.xml (Access is denied)

Having trouble installing Oxygen? Got a bug to report? Post it all here.
galanohan
Posts: 115
Joined: Mon Jul 10, 2023 11:49 am

\dita\DITA-OT\config\plugins.xml (Access is denied)

Post by galanohan »

Hi,

I was integrating the component for svg support using RUN DITA-OT Integrator over oxygen v26 just now.
Then I had a error raised from the RUN DITA-OT Integrator console:

Buildfile: C:\Program Files\Oxygen XML Editor 26\frameworks\dita\DITA-OT\integrator.xml

integrate:

BUILD FAILED
C:\Program Files\Oxygen XML Editor 26\frameworks\dita\DITA-OT\integrator.xml:45: Integration failed: java.io.IOException: net.sf.saxon.s9api.SaxonApiException: java.io.FileNotFoundException: C:\Program Files\Oxygen XML Editor 26\frameworks\dita\DITA-OT\config\plugins.xml (Access is denied)

Total time: 1 second

The process finished with exit code: 1

Then I granted full access to the \frameworks\dita\DITA-OT\config\plugins.xml, reopened the oxygen v26 as admin and rerun the RUN DITA-OT Integrator, integration succeeded finally:

integrate:
[integrate] Added com.oxygenxml.latex.svg

My question: how come the access policy changed in oxygen v26 which requires admin access to certain files? I remember in v25 I didn't grant full access to those files, and didn't run as admin, the integration succeeds as well.

Was it some certain impacts brought by the firewall or windows 11 updates?
Radu
Posts: 9431
Joined: Fri Jul 09, 2004 5:18 pm

Re: \dita\DITA-OT\config\plugins.xml (Access is denied)

Post by Radu »

Hi,
Any application (including Oxygen) which gets installed in the "C:\Program Files\" folder by an administrator and then is run under the user account does not have access rights to make changes inside the "C:\Program Files\" folder unless you increase the access rights for the folder or as you did start the application as an admin.
We mention this as the first step here:
https://www.oxygenxml.com/doc/versions/ ... tor-2.html
So this does not depend on the Oxygen version, any application installed by the operating system in the Program Files folder cannot make changes inside the Program Files folder when run from an user account.

As possible workarounds, you can either install Oxygen in some folder with full access rights or copy the entire "DITA-OT" folder outside of Oxygen, maybe to your user home or Documents folder and refer to it as the default DITA OT installation in the Oxygen Preferences->DITA page.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
galanohan
Posts: 115
Joined: Mon Jul 10, 2023 11:49 am

Re: \dita\DITA-OT\config\plugins.xml (Access is denied)

Post by galanohan »

Hi Radu,

Thanks, I overlooked the prerequisites about admin access
Post Reply