xfs
[Top] [All Lists]

Re: Copy with extended attributes

To: Ben Bucksch <ben.bucksch.news@xxxxxxxxxx>, agruen@xxxxxxx
Subject: Re: Copy with extended attributes
From: Nathan Scott <nathans@xxxxxxx>
Date: Mon, 31 Mar 2003 10:05:29 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <3E8652E5.5090307@xxxxxxxxxx>
References: <Pine.LNX.4.44.0303291205160.19590-100000@xxxxxxxxxxxxxxxxxxxxxx> <3E8652E5.5090307@xxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.3i
On Sun, Mar 30, 2003 at 04:13:57AM +0200, Ben Bucksch wrote:
>  Thanks, Eric, for the fast answer.
> 
> Eric Sandeen wrote:
> 
> >There are versions of fileutils which include acl/attr support - 
> >see http://acl.bestbits.at/
> >
> I checked that out, but the description of star 
> <http://acl.bestbits.at/download.html#Star> explicitly states that it 
> doesn't support EAs, only ACLs, and quickly looking over the fileutils 
> diff suggests the same for that package (cp, mv etc.). I merged the 
> patch with the current Debian sources and built and ran cp, but the 
> attributes were not copied.
> 

There is a project to implement what you're asking for here at Suse,
I believe.  Andreas has recently implemented some libattr routines
for preserving all of the extended attributes on operations line cp,
etc.

I'm not sure what the current state of this project is, though.
The missing piece afaict is the changes to the commands to make
use of those new attr_copy_file/attr_copy_fd routines.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>