From nobody@FreeBSD.org  Wed May  2 20:18:57 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 605AC16A406
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 May 2007 20:18:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 5198013C4B0
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  2 May 2007 20:18:57 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l42KIuOT015330
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 2 May 2007 20:18:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l42KDtPY014091;
	Wed, 2 May 2007 20:13:55 GMT
	(envelope-from nobody)
Message-Id: <200705022013.l42KDtPY014091@www.freebsd.org>
Date: Wed, 2 May 2007 20:13:55 GMT
From: Alex Keda<admin@lissyara.su>
To: freebsd-gnats-submit@FreeBSD.org
Subject: incorrect display group name by ``getfacl''
X-Send-Pr-Version: www-3.0

>Number:         112370
>Category:       bin
>Synopsis:       getfacl(1): incorrect display group name by ``getfacl''
>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 May 02 20:20:02 GMT 2007
>Closed-Date:    
>Last-Modified:  Sat Apr  5 15:50:02 UTC 2008
>Originator:     Alex Keda
>Release:        6.2-RELEASE
>Organization:
USSR
>Environment:
FreeBSD nas2.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Mon Feb 26 17:21:26 MSK 2007     lissyara@nas2.local:/usr/obj/usr/src/sys/nas2.local.2007-02-26  i386
>Description:
nas2# getfacl .
#file:.
#owner:0
#group:10001
user::rwx
user:an-gulina:rwx
user:e-treister:rwx
group::rwx
group:domain admins:rwx
group:migration_accoun:rwx
mask::rwx
other::---

=======================
real full group name (in 9 line) - 'migration_accounting'
this group - not local, but from Windows 2003 Domain controller, through
winbindd
>How-To-Repeat:
always, on all group with long names
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: sat 
State-Changed-When: Thu Apr 3 06:36:12 UTC 2008 
State-Changed-Why:  
Committed with a couple of new locales; try "make list-langs" next 
time. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112370 
State-Changed-From-To: closed->open 
State-Changed-By: sat 
State-Changed-When: Thu Apr 3 06:36:55 UTC 2008 
State-Changed-Why:  
Sorry, I closed a wrong one. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112370 

From: Jaakko Heinonen <jh@saunalahti.fi>
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
>Unformatted:
