Richard Megginson wrote:
Sergey Ivanov wrote:
[skip]
> Hi Richard,
> I have upgraded yesterday the last of my ldap servers. The most
> difficult problem there is described in
>
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=213626
> And this problem with ownership and permission denied was reproduced
> once more. I have screenlog of the session, and logs of admin and ldap
> servers. Also I see a file /opt/fedora-ds/setup/myinstall.inf with the
> following contents:
> ---
> [General]
> FullMachineName= <hostname>
> SuiteSpotUserID= root
> SuitespotGroup= root
>
This is a great clue. The setup script uses the following command to
determine these values:
suitespotuser=`ls -l
/opt/fedora-ds/slapd-instance/config/dse.ldif | awk '{print $3}'`
suitespotgroup=`ls -l
/opt/fedora-ds/slapd-instance/config/dse.ldif | awk '{print $4}'`
So somehow the ownership of dse.ldif was changed from nobody:nobody to
root:root. Either that, or the above command is not working. Is it
possible that it is not using /bin/ls?
Not looking like this. I did at this host:
---
# which ls
alias ls='ls --color=tty'
/bin/ls
# ls -l /opt/fedora-ds/slapd-instance/config/dse.ldif | awk '{print $3}'
nobody
# ls -l /opt/fedora-ds/slapd-instance/config/dse.ldif | awk '{print $4}'
nobody
May be, ownership was changed to root's in rpm -Uvh or in the very first
steps of setup/setup.
--
Sergey.
[skip]