search cancel

Upgrading Directory as 'root' user fails with permission denied error

book

Article ID: 229999

calendar_today

Updated On:

Products

CA Directory

Issue/Introduction

Even upgrading as 'root' user, Symantec Directory 14.1.xx may result into failure to upgrade with following error when you already have existing 'dsa' user defined on the system.


[[email protected] install]# ./dxsetup.sh -i console

/root/downloads/Dir14.1.03/dxserver/install
or one of its parent directories is not readable/executable
Trying /tmp/cadir_rnd#####

/root/downloads/Dir14.1.03/dxserver/install/dxprepare.shlib: line 117: /tmp/cadir_rnd#####/dxserver/install/passwdtool: Permission denied

mkdir: missing operand
Try 'mkdir --help' for more information.
cannot create home directory  for dsa

[[email protected] install]#

Environment

Release : 14.1

Component : CA Directory

Resolution

Problem could be permissions related issue at Operating System level. Try granting 'dsa' user root privileges as it may not have access to /tmp folder location.

e.g.

bash-4.2$ id
uid=1002(dsa) gid=1004(etrdir) groups=1004(etrdir)
bash-4.2$ sudo su  <-- to elevate to root user
[[email protected] home]# id
uid=0(root) gid=0(root) groups=0(root)
[[email protected] home]# <--- attempt to install and it should be successful.