Bug 2722

Summary: chown/chgrp different behavior on bad symlinks
Product: [Retired] Red Hat Linux Reporter: Cristian Gafton <gafton>
Component: fileutilsAssignee: Cristian Gafton <gafton>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: paolo.saggese, pbrown
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: 1999-10-04 16:37: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 Cristian Gafton 1999-05-10 21:03:09 UTC
chown -f exits with a 0 on a bad symlink
chgrp -f does not

Comment 1 Jeff Johnson 1999-05-11 14:51:59 UTC
*** Bug 2374 has been marked as a duplicate of this bug. ***

the fixperms macro bombs out if chown or chgrp fails.  This
isn't the behaviour that RPM 2.5 had.  While it is only a
configuration issue, it seems to make sense to me that the
default behaviour is to be backwards compatible with 2.5.

Comment 2 Cristian Gafton 2001-02-08 00:35:04 UTC
Seems to work since at least 6.2...