Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 14:39:27 -0800 (PST)
From:      Peter deFriesse <pdefriesse@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/61275: chmod man page/options conflict
Message-ID:  <200401122239.i0CMdRxs002124@www.freebsd.org>
Resent-Message-ID: <200401122240.i0CMe9UX060388@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         61275
>Category:       misc
>Synopsis:       chmod man page/options conflict
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 12 14:40:09 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Peter deFriesse
>Release:        FreeBSD 4.7-RELEASE #3
>Organization:
>Environment:
FreeBSD boojum.oit.umass.edu 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Wed Jan 29 17:52:35 EST 2003     peter@boojum.oit.umass.edu:/usr/src/sys/compile/BOOJUM  i386

>Description:
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.

boojum(peter) 17:35% which chmod
/bin/chmod

Output of command:

boojum(peter) 17:36% /bin/chmod -h 600 chmodtest.lnk
chmod: illegal option -- h
usage: chmod [-fv] [-R [-H | -L | -P]] mode file ...

boojum(peter) 17:36% ls -l chmodtest.lnk 
lrwxr-xr-x  1 peter  staff  14 Jan 12 17:30 chmodtest.lnk -> test.file


>How-To-Repeat:
see above
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401122239.i0CMdRxs002124>