Bug 4522 - chgrp fails building packages with symlinks
Summary: chgrp fails building packages with symlinks
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-08-14 18:47 UTC by Gordon Messmer
Modified: 2008-05-01 15:37 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 1999-08-14 19:01:13 UTC


Attachments (Terms of Use)

Description Gordon Messmer 1999-08-14 18:47:18 UTC
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 19:01:59 UTC
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.