Cannot Create a New Directory Server Instance if No WRITE Access to '/tmp' Directory
Last updated on OCTOBER 23, 2016
Applies to:Oracle Directory Server Enterprise Edition - Version 6.0 to 18.104.22.168.0 [Release 6.0 to 11gR1]
On DSEE 6.x and later versions:
When attempting to create a new Directory Server instance with a user who has no WRITE access to the /tmp directory, the dsadm command fails without yielding any error message.
The exit code is different of zero.
$ echo $?
$ ls -ld /data/PTS/DS/DSEE_7.0/INSTANCES/DS_7
/data/PTS/DS/DSEE_7.0/INSTANCES/DS_7: No such file or directory
WRITE access is denied for the user trying to create the Directory Server instance:
drwxrwxr-xt 8 root sys 1036 Jan 9 22:37 /tmp
The issue can be reproduced at will with the following steps:
1. Try to create a new Directory Server instance with dsadm while a WRITE access to /tmp is denied for the user
2. Try to list the contents of the expected Directory Server instance
This issue will happen if a WRITE access to /tmp is denied to the user trying to create a Directory Server instance.
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