Red Hat Bugzilla – Bug 436624
chgrp option --preserve-root results in error
Last modified: 2009-05-18 16:07:47 EDT
Description of problem:
/bin/chgrp has unrecognized flag --preserve-root.
This option is listed in the chgrp manpage, and output from "chgrp --help" command.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create file foo:
2. change group ownership of foo with --preserve-root flag:
chgrp --preserve-root bin /tmp/foo
chgrp: unrecognized option `--preserve-root'
Try `chgrp --help' for more information.
chgrp command should succeed with no stderr message
Apparently the gnu coreutils developer forgot to add the --preserve-root code to
chgrp. The code has been added to coreutils 5.96 or 5.97
Any possibility of updating coreutils package for redhat el4 ?
Thanks for report. As it is described in RHEL4 manpages, I see no problem to get
it into next maintainance release of RHEL4 coreutils if resources available. It
is an easy change and those options are already supported by RHEL-5 coreutils
(based on 5.97 version).
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
QA Whiteboard: RHTSdone, /CoreOS/coreutils/chgrp/bz436624_preserve_root
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.