[Ilugc] File permission backup

Bharathi Subramanian sbharathi at MidasComm.Com
Fri Feb 6 16:08:37 IST 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



More information about the ilugc mailing list