Re: [Ilugc] File permission backup

2009-02-07 Thread Ashish Verma
On Fri, Feb 6, 2009 at 4:42 PM, Abhishek Amberkar [अभिषेक] < abhishek.amber...@gmail.com> wrote: > On Fri, Feb 6, 2009 at 4:08 PM, Bharathi Subramanian > wrote: > > On Fri, 6 Feb 2009, Ashish Verma wrote: > > > >> Is there a way to backup only filenames and permissions and then > >> restore them.

Re: [Ilugc] File permission backup

2009-02-06 Thread Abhishek Amberkar [अभिषेक]
On Fri, Feb 6, 2009 at 4:08 PM, Bharathi Subramanian 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

Re: [Ilugc] File permission backup

2009-02-06 Thread Bharathi Subramanian
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 ___ To unsubscribe,