Date: Sat, 5 Apr 2008 15:50:03 GMT From: Jaakko Heinonen <jh@saunalahti.fi> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/112370: getfacl(1): incorrect display group name by ``getfacl'' Message-ID: <200804051550.m35Fo3tf095790@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/112370; it has been noted by GNATS. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804051550.m35Fo3tf095790>