bin/112370: getfacl(1): incorrect display group name by ``getfacl''

Jaakko Heinonen jh at saunalahti.fi
Sat Apr 5 15:50:04 UTC 2008


The following reply was made to PR bin/112370; it has been noted by GNATS.

From: Jaakko Heinonen <jh at saunalahti.fi>
To: bug-followup at FreeBSD.org, admin at 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


More information about the freebsd-bugs mailing list