[Ilugc] File permission backup

  • From: ashishverma1984@xxxxxxxxx (Ashish Verma)
  • Date: Sat Feb 7 19:19:03 2009

On Fri, Feb 6, 2009 at 4:42 PM, Abhishek Amberkar [??????] <
abhishek.amberkar@xxxxxxxxx> wrote:

On Fri, Feb 6, 2009 at 4:08 PM, Bharathi Subramanian
<sbharathi@xxxxxxxxxxxxx> wrote:
On Fri, 6 Feb 2009, Ashish Verma wrote:

Is there a way to backup only filenames and permissions and then
restore them.

1. cd mystuff
2. getfacl * > perm.txt
3. Do your testing


4. setfacl --restore=perm.txt

provided the file system is mounted with additional option `acl'

--



Thanks both of you.

Regards,
Ashish

Other related posts: