Description of problem: Creation of an instance as a different group than the existing instance group, breaks the existing instances.
Version-Release number of selected component (if applicable): 389-ds-base
How to reproduce:
1. Install 389-ds-base/ds8.2.4 build.
2. Create a shared group and few users for the same group.
useradd -g group1 user1 - inst1
useradd -g group1 user2 - inst2
useradd -g group1 user3 - inst3
3. Create three instances using these group/user names as inst1, inst2 and inst3.
4. Check the file permissions for /var/run/dirsrv - user1/group1
5. Create a group called - group2: groupadd group2
6. Create an user(user4) and add it to group2: useradd -g group2 user4
7. Create an instance(inst4) using user as user4 and group as group2.
8. Instance creation succeeds for inst4
9. Check the file permissions for /var/run/dirsrv - user1/group2
10. The group permission keeps changing based on the new instance created.
Due to the change in the file(group) permissions, instances inst2 and inst3 fails to start.
DS should not allow the user to create an instance as an unprivileged DS group.
Group permission for this directory should not be altered.
Closing this bug since we moved to the ticket system: