All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Antill <jantill@redhat.com>
To: Jim Meyering <jim@meyering.net>
Cc: selinux@tycho.nsa.gov
Subject: Re: cp: --preserve={context,xattr,acl}
Date: Fri, 18 Aug 2006 14:30:55 -0400	[thread overview]
Message-ID: <1155925855.18274.16.camel@code.and.org> (raw)
In-Reply-To: <87veop2a7d.fsf@rho.meyering.net>

[-- Attachment #1: Type: text/plain, Size: 982 bytes --]

On Fri, 2006-08-18 at 20:03 +0200, Jim Meyering wrote:
> Currently, upstream cp can selectively preserve a few different attributes.
> From the documentation:
[...]
> The SELinux patches add "context" to the list.
> and upstream treats ACLs like "mode".
> 
> However, with XATTR support, I may well add two more: "xattr" and "acl".
> 
> But then there'd be overlap between --preserve=xattr and --preserve=context,
> Since I presume the latter subsumes the former.  Right?
> 
> So if both were specified on a selinux-enabled system,
> would there be any point in doing anything XATTR-specific?

 With tar I had xattr imply acl and selinux, but then they could be used
individually like: --preserve=xattrs --no-preserve=selinux (does generic
user xattrs and acls, but not selinux context).
 Although the tar patches haven't been accepted upstream yet (they are
just before a stable release, so aren't accepting features).

-- 
James Antill <jantill@redhat.com>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2006-08-18 18:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 18:03 cp: --preserve={context,xattr,acl} Jim Meyering
2006-08-18 18:30 ` James Antill [this message]

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=1155925855.18274.16.camel@code.and.org \
    --to=jantill@redhat.com \
    --cc=jim@meyering.net \
    --cc=selinux@tycho.nsa.gov \
    /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.