Recovering file attributes from snapshot
Flaherty, Patrick
pflaherty at wsi.com
Fri Jul 6 10:17:44 EDT 2007
I've seen examples where people used getfacl and setfacl to backup their
acls (hint: these programs work on non-acl files as well).
google says http://www.debian-administration.org/articles/476 was the
article I read. The comments are where the important bits are.
Patrick
-----Original Message-----
From: gnhlug-discuss-bounces at mail.gnhlug.org
[mailto:gnhlug-discuss-bounces at mail.gnhlug.org] On Behalf Of Michael
ODonnell
Sent: Tuesday, July 03, 2007 12:03 PM
To: gnhlug-discuss at mail.gnhlug.org
Subject: Recovering file attributes from snapshot
I'm in a situation where the ownerships/permissions in a particular
filesystem hierachy get changed by circumstances beyond my control
(*cough*Perforce*cough*) and I need to force them back before I can use
that hierachy. I'm prepared to script a solution if necessary but I
hate reinventing the wheel so I wonder if this tool already exists.
It'd basically allow me to snapshot the desired attributes (ie. just
certain metadata items, not the contents) of an arbitrary set of
files/directories/symlinks/etc and then later allow me to restablish
those metadata by referring to the snapshot, but leaving the data
unchanged.
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss at mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
More information about the gnhlug-discuss
mailing list