[Ilugc] File permission backup

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Fri Feb 6 16:07:39 2009

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

HTH :)
-- 
Bharathi S

Other related posts: