bin/55318: setfacl(1) has a '-v' option that has to be removed from error message.

Grzegorz Czaplinski G.Czaplinski at prioris.mini.pw.edu.pl
Wed Aug 6 12:00:33 PDT 2003


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


More information about the freebsd-bugs mailing list