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 21, 2016

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, as administrator account,

and configuring an OUD instance to run as a Windows Service, in the setup cause permission issue as below.

Steps to reproduce an issue:


0. Login as 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 the step 10[1].

2. Run keytool to modify "<OUD-INST>\OUD\config\admin-keystore"
and File gets permission error as 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\a
dmin-keystore -storepass AGGWETDqTkNEzE717QEifd1ZUUsSJX0idDIzULQHLx7B7UV2Yv
-sto
retype 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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms