misc/61275: chmod man page/options conflict

Peter deFriesse pdefriesse at yahoo.com
Mon Jan 12 14:40:18 PST 2004


>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 at 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:


More information about the freebsd-bugs mailing list