Jim Meyering wrote: > Pádraig Brady wrote: >> Pádraig Brady wrote: >>> Jim Meyering wrote: >>>> You might want to do something similar to what I did in fts.c >>>> with this change: >>>> >>>> http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=97d5b66578be507 >>> Oh cool, thanks for that. >> Hmm, looks like my Fedora 8 system at least with SELinux disabled, >> will print security context for some files only. >> I.E. I'm not sure it's possible to cache for performance. > > Please clarify. What commands are you using? > Two files on the same partition? > One has SELinux context and the other doesn't?
yep $ head -n1 /etc/issue Fedora release 8 (Werewolf) $ selinuxenabled || echo disabled disabled $ ./ls -1Zd ~/public_html ~/ttt user_u:object_r:httpd_sys_content_t:s0 ~/public_html ? ~/ttt cheers, Pádraig. _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils