Re: Error reading EA

Denis Corbin <[email protected]> Sun, 08 May 2005 14:47:05 +0200
Newsgroups gmane.comp.sysutils.backup.dar.libdar
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Denis Corbin wrote:
| Wesley Leggette wrote:
| | On Mon, 2005-03-21 at 21:20 +0100, Denis Corbin wrote:
| |
| | Johnathan Burchill wrote:
| | | Hi Denis,
| |
| | Hello Johnathan,
| |
| | |
| | | From the dar-support list archive, message of 2005-03-01 12:30:
| | |
| | |
| | |>| They explictly mention the security namespace but I don"t know
at all
| | |>| if this is standard.
| | |
| | |
| | |
| | |>I don"t know neither. I will look at this soon.
| | |
| | |
| | | On my Slackware 10.1 box, "man 5 attr" shows 4 namespaces:
| | |
| | |        "Currently the security, system, trusted, and user extended
| | |        attribute  classes  are  defined as described below. Addi-
| | |        tional classes may be added in the future."
| | |
| | | The fact that more may be added in future makes me think there must be
| | a way
| | | to implement EA support in libdar in a more general way, that is
| | independent
| | | of specific namespaces...
| | |
| |
| | Yes, this is the object of a request for evolution, and of course I
| | don't want to have to change dar upon each new namespace that could
| | appear in the future. Historically (may 2002) when I read the
| | documentation provided by Andreas Gruenbacher (Author of EA/ACL) only
| | two namespaces were defined and it seemed there were no need to have
| | some more... :-)
| |
|[...]
|
| My current idea is to make namespace transparent to dar. the -u and -U
| options would change their meaning becoming a mask option (like -Y and
| -Z for example) but applied to the whole EA name. For example -u
| "system.*" would exclude all EA of the system namespace while -U
| "security.*" would include only the security namespace. One could also
| restore or save only a particular set of EA using several -u or -U
| basing the selection on namespace and/or name of the EA.
|
| This implies API changes of course.


| [...]

This is now implemented under the CVS trunk. The documentation, man
pages, API tutorial and doxygen comments are up to date.

Rawly, this has been done as explained above, EA namespace is now
transparent to dar, for libdar, a mask replaces the ea_root and ea_user
switchs to defines which EA to consider. For dar, the -u and -U options
have changed and now take an argument.

Cheers,
Denis.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCfgpHpC5CI8gYGlIRAmGFAKC9Grn6I80afJJwejDiw+XwMbIHUwCgtcyG
4DWa5sUsU+Ji80XXEzoK3cQ=
=zxwO
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20