[ACL-Devel] archiving acls: tar and cpio
Michael Tokarev
mjt at tls.msk.ru
Tue Oct 17 16:23:29 GMT 2000
Just an "orthogonal" view. Maybe use some option for archiver
when _creating_ archive? Like this:
tar cvfp arch.tar files
to store "normal" names, and
tar cvfpn arch.tar files
to store uids only?
For tar/pax `names' should be the default; for cpio (e.g.)
uids should be the default (again, just an example; probably
this should depend on format, e.g. for `pax -t cpio' default
should be uids etc).
All of this taken from the usage of the further archive. If
it intended for backups, uids should be used (e.g. dump should
use uids _only_), while for "regular" use, names should be
preferred.
This way, no new format should be introduced; just use "standard"
one with 3 fields. But in the 2nd field will be different for
"backup" and "regular" archives:
user:mjt:rwx vs user:502:rwx
Again, when extracting, numerics will be interpreted as uid while
strings as name.
?
Regards,
Michael.
To Unsubscribe: send mail to majordomo at cyrus.watson.org
with "unsubscribe posix1e" in the body of the message
More information about the posix1e
mailing list