Amanda-Users

Re: How to preserve ACL on files

2003-11-04 09:59:03
Subject: Re: How to preserve ACL on files
From: lance dillon <ldillon AT sk-tech DOT com>
To: amanda-users AT amanda DOT org
Date: Tue, 04 Nov 2003 07:11:32 -0600
On Tue, 2003-11-04 at 07:08, salah.ahmed AT nomadsoft DOT com wrote:
> Hi
> 
> I would like to know if anyone had any knowledge on how to preserve
> ACL while extracting files of the tape.
> 
> Cheers

You can do this:

getfacl -R dir > acls.txt
now backup

to restore:

restore
setfacl --restore=acls.txt

Basically, you are converting the acls to a text file, backing that up,
then restoring the acls from the text file when you restore.


Attachment: signature.asc
Description: This is a digitally signed message part

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