Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 22:16:09 +0100 (BST)
From:      Edward Brocklesby <nighthawk@unrealircd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/40709: "-V" (very verbose) flag for chmod
Message-ID:  <20020717211609.1E63958C@firedrake.etherix.com>

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

>Number:         40709
>Category:       bin
>Synopsis:       "-V" (very verbose) flag for chmod
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 17 14:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Edward Brocklesby
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD firedrake.internal 4.6-STABLE FreeBSD 4.6-STABLE #0: Wed Jul 17 05:08:06 BST 2002 root@firedrake.internal:/usr/obj/usr/src/sys/FIREDRAKE i386

>Description:

http://firedrake.etherix.com/~ejb/chmod-Vflag.diff

This patch adds a new command line option to chmod, '-V'.  This is similar is
concept to -v, except that it prints more information to the user.  For example:

ejb@firedrake:~/t% chmod -V 755 *
test1: 0100744 [-rwxr--r-- ] -> 0100755 [-rwxr-xr-x ]
test2: 0100645 [-rw-r--r-x ] -> 0100755 [-rwxr-xr-x ]
test3: 0100111 [---x--x--x ] -> 0100755 [-rwxr-xr-x ]
ejb@firedrake:~/t% 

Because this addition does not change any existing output format or option parsing,
it should not break backward compatibility.

This patch updates both the source file and the manual page, chmod.1.
It is based on:
     $FreeBSD: src/bin/chmod/chmod.1,v 1.17.2.9 2002/07/14 21:38:40 keramida Exp $
     $FreeBSD: src/bin/chmod/chmod.c,v 1.16.2.3 2001/08/01 01:21:09 obrien Exp $

from RELENG_4.

>How-To-Repeat:
N/A.

>Fix:

(See Description.)
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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