From owner-freebsd-bugs Wed Jul 17 14:20: 9 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A69CE37B400 for ; Wed, 17 Jul 2002 14:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B8E143E64 for ; Wed, 17 Jul 2002 14:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6HLK1JU069070 for ; Wed, 17 Jul 2002 14:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6HLK1as069069; Wed, 17 Jul 2002 14:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1813C37B400 for ; Wed, 17 Jul 2002 14:17:23 -0700 (PDT) Received: from firedrake.etherix.com (pc1-oxfd1-6-cust131.oxf.cable.ntl.com [80.3.240.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36C3C43E7B for ; Wed, 17 Jul 2002 14:17:20 -0700 (PDT) (envelope-from nighthawk@unrealircd.com) Received: by firedrake.etherix.com (Postfix, from userid 1001) id 1E63958C; Wed, 17 Jul 2002 22:16:09 +0100 (BST) Message-Id: <20020717211609.1E63958C@firedrake.etherix.com> Date: Wed, 17 Jul 2002 22:16:09 +0100 (BST) From: Edward Brocklesby Reply-To: Edward Brocklesby To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/40709: "-V" (very verbose) flag for chmod Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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