My Oracle Support Banner

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 11.1.2.3.0 to 11.1.2.3.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

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[1].

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.

C:\Windows\system32>C:\oud\Java\jdk1.7.0_80\bin\keytool "-J-Duser.language=en" -selfcert -alias admin-cert -validity 4015 -keystore C:\oud\asinst_1\OUD\config\admin-keystore
-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[1] 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)

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.