OUD11g - Setting Up OUD Instance As Administrator Account, and Configuring It As Running Via Windows Service Cause File Permission Issues
(Doc ID 2198845.1)
Last updated on NOVEMBER 30, 2022
Applies to:Oracle Unified Directory - Version 22.214.171.124.0 to 126.96.36.199.0 [Release 11g]
Information in this document applies to any platform.
Running the OUD setup script, oud-setup.bat, in Windows Platform, using the Administrator account, and configuring an OUD instance to run as a Windows Service in the setup causes permission issues as below.
Steps to reproduce an issue:
0. Login using the Administrator account.
1. Run oud-setup.bat and setup an OUD instance to run as a Windows Service by
Selecting "Start Server as a Windows service" option in Step 10.
2. Run keytool to modify "<OUD-INST>\OUD\config\admin-keystore"
and the file returns the "Access is denied" permission error shown in the example below.
-storepass AGGWETDqTkNEzE717QEifd1ZUUsSJX0idDIzULQHLx7B7UV2Yv -storetype JKS
keytool error: java.io.FileNotFoundException:C:\oud\asinst_1\OUD\config\admin-keystore (Access is denied)
The file owner is "BUILTIN\Administrators" and the access permission for administrator is "R" although the permission for "NT AUTHORITY\SYSTEM" is "F".
This permission issue does not occur if the option in step 10 is not selected and the OUD instance is registered as a Windows Service later by
the command, "windows-service.bat -e".
Oracle® Fusion Middleware Installing Oracle Unified Directory 11g Release 2 (11.1.2)
3.1 Setting Up the Directory Server Using the Graphical User Interface (GUI)
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document