* Joshua Baker-LePain <[EMAIL PROTECTED]> [20040730 11:20]: > On Fri, 30 Jul 2004 at 10:50am, Jean-Francois Malouin wrote > > > I find myself forced to use ACLs for a finer-grained permissions setup > > of a few filesystems (Irix CXFS) and I wonder if any of you had done a > > similar thing. The irix tar claims to have the capability of backing > > up ACLs but I can't use it because of other problems with this > > version. Right now I'm using gtar (GNU tar) 1.13.25 along with > > Amanda-2.4.4p1-20031120. I can't use xfsdump/xfsrestore due to the > > fact that these filesystems are much bigger than my tapes (LTO1) and I > > cannot split the filesystems like I do with gtar (xfsdump will only do > > full backups for directories). > > > > If that is still not possible to backup (and restore!) ACLs with > > gnutar I was thinking of periodically updating a file containing all > > the ACLs and I case of a restore just apply the relevent ACLs on top > > of the restored file. > > > > Am I fishing in troubled waters? > > Has anyone done something similar? > > Where I can't use xfsdump/restore, I do indeed dump the ACLs to a file for > future restore if the need arises. At least I used to... <fx: roots > around in FSs/memory/man pages>. Ah, try something like this in your > crontab before amanda runs: > > getfacl -R dirname > /somewhare/safe/dirname.ACLs > > If the need to restore the ACLs on dirname, you'd do > > setfacl --restore=/somewhare/safe/dirname.ACLs > > Note that I took the command line flags from the man pages for {s|g}etfacl > on a Red Hat 9 box, so check them against the IRIX man pages.
Thank you very much for your answer Joshua. I don't think there is an equivalent of 'getfacl/setfacl' for Irix however with 'chacl' (irix command to change ACLs) and a few lines of perl it should prove easy to write a program to save and restore ACLs. bye, jf > > -- > Joshua Baker-LePain > Department of Biomedical Engineering > Duke University -- Better to be silent and thought a fool than to speak and remove all doubt.