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): coreutils-5.2.1-31.6 How reproducible: Always reproducible. Steps to Reproduce: 1. create file foo: touch /tmp/foo 2. change group ownership of foo with --preserve-root flag: chgrp --preserve-root bin /tmp/foo 3. Actual results: chgrp: unrecognized option `--preserve-root' Try `chgrp --help' for more information. Expected results: chgrp command should succeed with no stderr message Additional info: 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 http://www.mail-archive.com/coreutils-announce@gnu.org/msg00023.html http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365656#17 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 release.
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. http://rhn.redhat.com/errata/RHBA-2009-0959.html