[Acl-Devel] rfe: tweak non-ASCII output
Nathan Scott
nathans at sgi.com
Wed Mar 15 23:25:30 CET 2006
Hi Andreas, all,
I got this feature request today, figured I'd forward it on in
case anyones keen to implement this for 'em.
cheers.
----- Forwarded message from Jan-Benedict Glaw <jbglaw at lug-owl.de> -----
Date: Wed, 15 Mar 2006 22:31:50 +0100
To: submit at bugs.debian.org
Cc: juergen at leibner-net.de
User-Agent: Mutt/1.5.9i
Reply-To: Jan-Benedict Glaw <jbglaw at lug-owl.de>, 357141 at bugs.debian.org
From: Jan-Benedict Glaw <jbglaw at lug-owl.de>
Subject: Bug#357141: acl: Ugly output with non-ASCII (eg. UTF-8) filenames
Package: acl
Version: 2.2.23-1
Hi!
The current `getfacl' program uses isprint()/isspace() to decide
wether to print a byte of a given username verbatim or to use \nnn
escapes instead. For UTF-8 locales, this doesn't really make sense.
It would be nice if usernames (or any other given data) would be
printed as-is, or maybe quote the names IFF a given command-line
switch is given (eg. like `ls' does it.)
sv-9-hma:/daten# ls -l Linkbase/; getfacl Linkbase/
insgesamt 8
drwxrwx---+ 6 administrator domänen-admins 4096 2005-11-24 08:46 Archiv
# file: Linkbase
# owner: administrator
# group: dom\303\244nen-admins
user::rwx
group::rwx
group:dom\303\244nen-benutzer:r-x
mask::rwx
other::---
default:user::rwx
default:user:administrator:rwx
default:group::rwx
default:group:dom\303\244nen-benutzer:r-x
default:group:dom\303\244nen-admins:rwx
default:mask::rwx
default:other::---
sv-9-hma:/daten#
Thanks,
Jan-Benedict Glaw
--
Jan-Benedict Glaw jbglaw at lug-owl.de . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
----- End forwarded message -----
--
Nathan
More information about the acl-devel
mailing list