Bug 14874
Summary: | uucp still won't build as non-root; last RH patch was wrong. | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Michael Tokarev <mjt> |
Component: | uucp | Assignee: | Eido Inoue <havill> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | jbj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-01-06 23:33:10 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Tokarev
2000-07-31 11:22:32 UTC
Fixed by building with owner=uucp but installing with owner=$(id -u) and insuring that %files has the correct owners. Package is uucp-1.06.1-26. Hm... :) Here it is, at my system: mjt$ id uid=101(mjt) gid=100(users) groups=100(users),56(bckp),60(dba),101(ekisadm) mjt$ getent group mjt mjt$ _ there is no such group named `mjt', while my uid *is* mjt. Yes, by default redhat creates personal group for each user, but I don't like this policy. With this, uucp install will again fali, since it will try to chown mjt.mjt FILE, with chown: mjt:mjt: invalid group error message. I again recommend those two lines that already has been recommended... :) understood. in addition to doing a owner=$(id -un), we'll create a group=$(id -gn) and have the chowns use the new shell variable for the group and not $(owner) |