From: Paul Moore <pmoore@redhat.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: Serge Hallyn <serge.hallyn@ubuntu.com>, selinux@tycho.nsa.gov
Subject: Re: [PATCH] file: replace 'ls -Z' with 'ls -lZ' for consistent results
Date: Fri, 29 Aug 2014 10:37:59 -0400 [thread overview]
Message-ID: <5782178.DNEPL1ls2l@sifl> (raw)
In-Reply-To: <54006D79.1050409@tycho.nsa.gov>
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.
--
paul moore
security and virtualization @ redhat
next prev parent reply other threads:[~2014-08-29 14:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 20:47 [PATCH] file: replace 'ls -Z' with 'ls -lZ' for consistent results Paul Moore
2014-08-29 12:09 ` Stephen Smalley
2014-08-29 14:37 ` Paul Moore [this message]
2014-08-29 15:12 ` Stephen Smalley
2014-08-29 15:23 ` Paul Moore
2014-08-29 18:06 ` Paul Moore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5782178.DNEPL1ls2l@sifl \
--to=pmoore@redhat.com \
--cc=sds@tycho.nsa.gov \
--cc=selinux@tycho.nsa.gov \
--cc=serge.hallyn@ubuntu.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.