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

Re: copy with acl



hi,

On Mon, Aug 13, 2001 at 03:42:03PM -0400, Dmitry Melekhov wrote:
> Hello!
> 
> Is it possible to copy files preserving acls?
> 

Yes - you need a patched fileutils - Andreas' ACL website has a
patch which has been reported to work with the XFS libacl also.
See http://acl.bestbits.at/ for details.

> btw, is it possible to store acls into text file
> and then restore them (we use tar for backup) ?
> 

Yes - Andreas' getfacl/setfacl tools, which we include in the
XFS ACL package now (see cvs tree), were designed for just this
purpose.  There is a known ACE ordering bug in the libacl code
that this sits above though, so YMMV at the moment.  Feel free
to fix the problem, its just not reached the top of anyone's
ToDo list here at the moment.

cheers.

-- 
Nathan