Hi Olaf,
On Sat, Apr 21, 2001 at 03:31:21PM +0200, Olaf Fr?czyk wrote:
>
> Does somebody knows a filemanager (like mc, or some other for X) that works
> with XFS's ACLs(displays them, allows to change, etc.)?
>
SGI hasn't provided anything like this, sorry.
On Sun, Apr 22, 2001 at 09:23:56PM +0000, Olaf Fraczyk wrote:
> Rahul Jain wrote:
> > On Sat, Apr 21, 2001 at 03:31:21PM +0200, Olaf Fr?czyk wrote:
> >> Oh, and it would be nice to have some tool which gets all acls
> recursive
> >> from directory tree, saves them in a file, and applies from that file
> to a
> >> directory tree. It would make it possible, to use tar command to make
> >> archives for backup, if there were some tool to backup acls.
> >
> > xfsdump/xfsrestore should do this nicely.
Yep, xfsdump/xfsrestore will dump out the extended attributes
for files/dirs and thus backup the ACLs (since ACLs are stored as EAs).
>
> I know, that I can use it. But using tar archives gives ability to restore
> archives on any other system I want: e.g. WinNT, linux without xfs
> support.
> If my system crashes, I will be able to restore data on another system
> and give users access to them (I know, there will be no ACLs, but this is
> better than nothing). And after my system is back I can untar the data
> and apply ACLs back.
> Of course, I could make two backups: one with tar command, second using
> xfsdump. But I think, this is not the right way ;)
>
I see what you are getting at.
You could also be more general and have this utility save all
of the EA data (as xfsdump does) for the dirs/files.
Well, we really only have xfsdump for saving of this data,
so feel free to write this utility, Olaf ;-))
(cmd/attr/attr/attr.c to see how to get and set EAs and
if only interested in ACLs then see cmd/acl/chacl/chacl.c).
Ciao,
Tim.
|