Project

Profile

Help

Issue #7173

closed

pulp_installer makes Pulp's files owned by group "users" rather than group "pulp"

Added by mdepaulo@redhat.com over 4 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
Yes
Tags:
Sprint:
Sprint 81
Quarter:

Description

Not long ago, we made 1 or more changes so that any existing pulp_user (ansible var, defaults to "pulp") would be added to the pulp_group (ansible var, typically "pulp").

However, now the default behavior for new installs is that the "pulp" user has its primary group as "users", and it is merely in "pulp" as well.

And thus folders like /var/lib/pulp/ have group "users" on them. Thus defeating the point of the "pulp" group.

Fixing this involves 2 parts:

  1. Modifying the "user" modules tasks (to set primary group to "pulp" in addition to adding to the gorup)
  2. chgrping (or telling users to chgrp) pulp files.

Related issues

Has duplicate Pulp - Issue #6286: ansible-pulp sets the gid for pulp_user that is not the gid of pulp_groupCLOSED - DUPLICATEActions

Also available in: Atom PDF