FS#35570 - [openldap] run directory should be 0755

Attached to Project: Arch Linux
Opened by Mantas Mikulėnas (grawity) - Friday, 31 May 2013, 14:54 GMT
Last edited by Eric Belanger (Snowman) - Friday, 31 May 2013, 16:51 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The tmpfiles.d config in openldap 2.4.35-4 creates /run/openldap with 0750 permissions, restricting it to the 'ldap' group. It should be changed to 0755, since slapd does not store any private data there.

On the other hand, it creates the Unix socket for LDAP (ldapi://) in /run/openldap, which all programs are supposed to have access to. (The Unix socket requires authenticating the same way as TCP sockets do, so security is not a problem.)

From other distros, even Debian – which insists on a separate "fuse" group – creates /run/slapd as 0755.
This task depends upon

Closed by  Eric Belanger (Snowman)
Friday, 31 May 2013, 16:51 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#30611 

Loading...