Bug 4522 - chgrp fails building packages with symlinks
chgrp fails building packages with symlinks
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-08-14 14:47 EDT by Gordon Messmer
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-14 15:01:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Gordon Messmer 1999-08-14 14:47:18 EDT
When attempting to build a package whose source contains
symlinks, chgrp returns -1.

The solution appears to be changing the macro:
%_fixgroup    		[ `%{__id} -u` = '0' ] && %{__chgrp} -Rf
root
to;
%_fixgroup    		[ `%{__id} -u` = '0' ] && %{__chgrp} -Rhf
root
in /usr/lib/rpm/macros
Comment 1 Jeff Johnson 1999-08-14 15:01:59 EDT
Fixed in (as yet unreleased) rpm-3.0.3. Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.