Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Aug 2003 20:47:25 +0200 (CEST)
From:      Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/55318: setfacl(1) has a '-v' option that has to be removed from error message.
Message-ID:  <20030806184725.49AF31707E@alphax.mini.pw.edu.pl>
Resent-Message-ID: <200308061900.h76J0UZU049600@freefall.freebsd.org>

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

>Number:         55318
>Category:       bin
>Synopsis:       setfacl(1) has a '-v' option that has to be removed from error message.
>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:   Wed Aug 06 12:00:29 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Grzegorz Czaplinski
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD alphax.mini.pw.edu.pl 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Mon Jun 16 20:46:55 CEST 2003 root@alphax.mini.pw.edu.pl:/usr/obj/usr/src/sys/ALPHAX i386

>Description:
	The setfacl(1) indicates there is -v option. 
	
>How-To-Repeat:
	% setfacl -v -m m::r file.txt
	setfacl: illegal option -- v
	usage: setfacl [-bdhknv] [-m entries] [-M file1] [-x entries] [-X file2] [file ...]

>Fix:

Change function usage in setfacl.c to read:

static void
usage(void)
{

        fprintf(stderr, "usage: setfacl [-bdkn] [-m entries] [-M file1] "
            "[-x entries] [-X file2] [file ...]\n");
        exit(1);
}
>Release-Note:
>Audit-Trail:
>Unformatted:



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