xfs
[Top] [All Lists]

Re: Looking for file manager that works with ACLs.

To: Olaf Fr?czyk <olaf@xxxxxxxxxxxxx>
Subject: Re: Looking for file manager that works with ACLs.
From: Timothy Shimmin <tes@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Apr 2001 16:08:42 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20010421153121.A3651@venus.local.navi.pl>; from olaf@cbk.poznan.pl on Sat, Apr 21, 2001 at 03:31:21PM +0200
References: <Pine.SOL.3.96.1010422212145.11924A-100000@orchid.cbk.poznan.pl> <20010421153121.A3651@venus.local.navi.pl>
Sender: owner-linux-xfs@xxxxxxxxxxx
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.

<Prev in Thread] Current Thread [Next in Thread>