Re: [PATCH] file: replace 'ls -Z' with 'ls -lZ' for consistent results

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, August 29, 2014 11:12:58 AM Stephen Smalley wrote:
> On 08/29/2014 10:37 AM, Paul Moore wrote:
> > On Friday, August 29, 2014 08:09:29 AM Stephen Smalley wrote:
> >> On 08/28/2014 04:47 PM, Paul Moore wrote:
> >>> I'm not sure the exact date of the change, but 'ls -Z' on Rawhide is
> >>> 
> >>> a bit different than in the past; the output now looks like this:
> >>>   # /bin/ls -Z test
> >>>   system_u:object_r:test_file_t:s0 test
> >> 
> >> That seems very wrong - who knows how many userspace scripts may rely on
> >> the output of ls -Z having a given format?   Is this a change in
> >> upstream coreutils or Fedora-specific?
> > 
> > It does seems a bit odd to me too, but I'm in need of a quick solution and
> > changing to using the '-l' flag served that purpose.  I can try to track
> > down the source of the change, but it probably isn't going to happen
> > today.
> > 
> > In the meantime, using '-l' doesn't hurt anything, and it works.
> 
> ...on rawhide, maybe.  It breaks the test on Fedora 20, and presumably
> on every older Fedora and RHEL release.

I didn't realize the '-lZ' format changed as well ... sigh.

-- 
paul moore
security and virtualization @ redhat

_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux