Description of problem: The chmod command option "-f" does not behave the same between RHEL 3 and RHEL 5. Assuming the file /tmp/junk does not exist, the following command produces no output on RHEL 3: chmod -f 755 /tmp/junk On RHEL 5 the same command produces the following output: chmod: cannot access `/tmp/junk': No such file or directory Version-Release number of selected component (if applicable): coreutils-5.97-14.el5 How reproducible: Every time. Steps to Reproduce: 1. run "chmod -f 755 /tmp/nonexistent-file Actual results: chmod: cannot access `/tmp/nonexistent-file': No such file or directory Expected results: Silence. No error message from chmod. Additional info: coreutils-5.97-18.el5 in RHEL 5.3 Beta behaves the same as coreutils-5.97-14.el5 in RHEL 5.2.
Thanks for report, already reported to upstream with proposed patch (http://lists.gnu.org/archive/html/bug-coreutils/2008-11/msg00217.html)
Just as a sidenote - it's not only chmod, but chown/chgrp issue as well ...
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-1262.html