OUD11g - Setting Up OUD Instance As Administrator Account, and Configuring It As Running Via Windows Service Cause File Permission Issues
Last updated on NOVEMBER 21, 2016
Applies to:Oracle Unified Directory - Version 18.104.22.168.0 to 22.214.171.124.0 [Release 11g]
Information in this document applies to any platform.
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.
2. Run keytool to modify "<OUD-INST>\OUD\config\admin-keystore"
and File gets permission error as below.
selfcert -alias admin-cert -validity 4015 -keystore
dmin-keystore -storepass AGGWETDqTkNEzE717QEifd1ZUUsSJX0idDIzULQHLx7B7UV2Yv
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)
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