Mailinglist Archive: opensuse (4398 mails)
| < Previous | Next > |
SuSE 9.3 resetting file permissions
- From: Jason Joines <support@xxxxxxxxxxxxxxx>
- Date: Thu, 22 Sep 2005 10:41:27 -0500
- Message-id: <4332D0A7.5040308@xxxxxxxxxxxxxxx>
I'm trying to use the ldapi inteface, /var/run/slapd/ldapi, for
OpenLDAP. The default permissions after install of the SuSE 9.3
OpenLDAP RPM were:
drwx------ /var/run/slapd
srwxr-xr-x /var/run/slapd/ldapi
For non root processes to be able to search the directory the permissions have to be set to:
drwx--x--x /var/run/slapd
srwxrwxrwx /var/run/slapd/ldapi
If I set these permissions manually, everything works fine. However, a restart of the ldap server "rcldap restart" resets some of the permssions and we have:
drwx--x--x /var/run/slapd
srwxr-xr-x /var/run/slapd/ldapi
This breaks all the non root processes trying to access the directory via the socket. The same problem occurs in SuSE 9.2. I've gone through the init scripts for ldap but can't find what is changing these permissions. Any ideas?
Thanks,
Jason Joines
=============================
drwx------ /var/run/slapd
srwxr-xr-x /var/run/slapd/ldapi
For non root processes to be able to search the directory the permissions have to be set to:
drwx--x--x /var/run/slapd
srwxrwxrwx /var/run/slapd/ldapi
If I set these permissions manually, everything works fine. However, a restart of the ldap server "rcldap restart" resets some of the permssions and we have:
drwx--x--x /var/run/slapd
srwxr-xr-x /var/run/slapd/ldapi
This breaks all the non root processes trying to access the directory via the socket. The same problem occurs in SuSE 9.2. I've gone through the init scripts for ldap but can't find what is changing these permissions. Any ideas?
Thanks,
Jason Joines
=============================
| < Previous | Next > |