rfe: tweak non-ASCII output

Nathan Scott <[email protected]> Thu, 16 Mar 2006 09:25:30 +1100
Newsgroups gmane.linux.file-systems.acl.devel
Message-ID <[email protected]>
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 <[email protected]> -----

Date: Wed, 15 Mar 2006 22:31:50 +0100
To: [email protected]
Cc: [email protected]
User-Agent: Mutt/1.5.9i
Reply-To: Jan-Benedict Glaw <[email protected]>, [email protected]
From: Jan-Benedict Glaw <[email protected]>
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=C3=A4nen-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       [email protected]    . +49-172-7608481             =
_ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  =
_ _ O
 f=C3=BCr einen Freien Staat voll Freier B=C3=BCrger"  | im Internet! |   i=
m Irak!   O O O
ret =3D do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA)=
);



----- End forwarded message -----

-- =

Nathan

_______________________________________________
acl-devel mailing list
[email protected]
http://acl.bestbits.at/mailman/listinfo/acl-devel