[Ilugc] File permission backup

  • From: abhishek.amberkar@xxxxxxxxx (Abhishek Amberkar [अभिषेक])
  • Date: Fri Feb 6 16:42:30 2009

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'

-- 
With Regards
Abhishek Amberkar

Learn to appreciate a beauty within...

Other related posts: