From dmagda@magda.ca  Sat Oct  5 18:20:43 2002
Return-Path: <dmagda@magda.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 29EAF37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Oct 2002 18:20:43 -0700 (PDT)
Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 133F943E4A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  5 Oct 2002 18:20:42 -0700 (PDT)
	(envelope-from dmagda@magda.ca)
Received: from number6.magda.ca ([64.229.228.6])
          by tomts22-srv.bellnexxia.net
          (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP
          id <20021006012041.OFBV21742.tomts22-srv.bellnexxia.net@number6.magda.ca>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Sat, 5 Oct 2002 21:20:41 -0400
Received: from number6.magda.ca (localhost.magda.ca [127.0.0.1])
	by number6.magda.ca (8.12.6/8.12.6) with ESMTP id g961Kef0025371
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 5 Oct 2002 21:20:40 -0400 (EDT)
	(envelope-from dmagda@magda.ca)
Received: (from dmagda@localhost)
	by number6.magda.ca (8.12.6/8.12.6/Submit) id g961KdTQ025370;
	Sat, 5 Oct 2002 21:20:39 -0400 (EDT)
	(envelope-from dmagda)
Message-Id: <200210060120.g961KdTQ025370@number6.magda.ca>
Date: Sat, 5 Oct 2002 21:20:39 -0400 (EDT)
From: David Magda <dmagda+fbugs@magda.ca>
Reply-To: David Magda <dmagda+fbugs@ee.ryerson.ca>
To: FreeBSD-gnats-submit@freebsd.org
Subject: chmod doesn't recognize -h option in 4-STABLE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         43730
>Category:       bin
>Synopsis:       chmod doesn't recognize -h option in 4-STABLE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    trhodes
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 18:30:01 PDT 2002
>Closed-Date:    Thu Oct 17 18:51:29 PDT 2002
>Last-Modified:  Thu Oct 17 18:51:29 PDT 2002
>Originator:     David Magda
>Release:        FreeBSD 4.7-RC i386
>Organization:
We're organized?
>Environment:
System: FreeBSD number6.magda.ca 4.7-RC FreeBSD 4.7-RC #0: Sat Oct 5 17:42:58 EDT 2002 dave@number6.magda.ca:/usr/obj/usr/src/sys/MYKERNELC i386


>Description:

The man page says:
             [...]
             -h      If the file is a symbolic link, change the mode of
                     the link itself rather than the file that the link
                     points to.
             [...]
but:
             dmagda:~$ chmod -h
             chmod: illegal option -- h
             usage: chmod [-fv] [-R [-H | -L | -P]] mode file ...

>How-To-Repeat:

Run chmod(1) with the "-h" option.

>Fix:

Either add the "-h" option, or get rid of the entry in the man page.

>Release-Note:
>Audit-Trail:

From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To: David Magda <dmagda+fbugs@ee.ryerson.ca>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/43730: chmod doesn't recognize -h option in 4-STABLE
Date: Sun, 6 Oct 2002 11:09:31 +0200

 See PR 41926 which extensively covers the problem:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/41926
 
Responsible-Changed-From-To: freebsd-bugs->trhodes 
Responsible-Changed-By: johan 
Responsible-Changed-When: Sat Oct 12 08:34:08 PDT 2002 
Responsible-Changed-Why:  
Reminder for Tom to either back out the -h description 
from the manpage or MFC the code change and the documentation 
change for the -h option. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43730 
State-Changed-From-To: open->closed 
State-Changed-By: trhodes 
State-Changed-When: Thu Oct 17 18:51:07 PDT 2002 
State-Changed-Why:  
This has just been MFC'ed.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=43730 
>Unformatted:
