From owner-freebsd-bugs@FreeBSD.ORG Sat Apr 5 15:50:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33F38106566C for ; Sat, 5 Apr 2008 15:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 038958FC18 for ; Sat, 5 Apr 2008 15:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m35Fo3Qw095791 for ; Sat, 5 Apr 2008 15:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m35Fo3tf095790; Sat, 5 Apr 2008 15:50:03 GMT (envelope-from gnats) Date: Sat, 5 Apr 2008 15:50:03 GMT Message-Id: <200804051550.m35Fo3tf095790@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jaakko Heinonen Cc: Subject: Re: bin/112370: getfacl(1): incorrect display group name by ``getfacl'' X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jaakko Heinonen List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 15:50:04 -0000 The following reply was made to PR bin/112370; it has been noted by GNATS. From: Jaakko Heinonen To: bug-followup@FreeBSD.org, admin@lissyara.su Cc: Subject: Re: bin/112370: getfacl(1): incorrect display group name by ``getfacl'' Date: Sat, 5 Apr 2008 18:41:22 +0300 Hi, getfacl(1) uses acl_to_text(3) which truncates user names and group names to UT_NAMESIZE characters. UT_NAMESIZE is defined in /usr/include/utmp.h and it's default value is 16. Comment in src/lib/libc/posix1e/acl_support.c says: * Given a uid/gid, return a username/groupname for the text form of an ACL. * Note that we truncate user and group names, rather than error out, as * this is consistent with other tools manipulating user and group names. -- Jaakko