[OmniOS-discuss] Long group names in ls acl output

Nathan Huff nrhuff at umn.edu
Fri Mar 6 16:32:19 UTC 2015


I ended up writing a shared library that overrides the acl_printacl 
routine with a maximum id string size of 256 instead of 20 that I can 
LD_PRELOAD if I need to see longer names. Hacky, but seems to work.

On 2015-03-05 9:22 PM, Paul B. Henson wrote:
>> From: Nathan Huff
>> Sent: Tuesday, March 03, 2015 1:04 PM
>>
>> -n works for the regular user and group but seems to have no effect on
>> ACL entries
>
> Ah, sorry, I don't recall seeing ACL entries mentioned in your original
> post, perhaps I missed it.
>
> I took a quick look, it appears that ls does not parse/print ACL's itself,
> it uses the acl_printacl utility function in libsec. Unfortunately, I don't
> see any nontrivial way to modify it to do what you want.
>
>
>

-- 
Nathan Huff
System Administrator
Academic Health Center Information Systems
University of Minnesota
612-626-9136


More information about the OmniOS-discuss mailing list