[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] Proposal for handling user/group ownership and
From: |
Arkadiusz Miskiewicz |
Subject: |
Re: [rdiff-backup-users] Proposal for handling user/group ownership and ACLs |
Date: |
Mon, 1 Sep 2003 09:16:56 +0200 |
User-agent: |
KMail/1.5.3 |
On Sunday 31 of August 2003 11:50, Ben Escoto wrote:
> For instance, suppose a file is owned by username 'foo' on machine1.
> After backing up that file to machine2, without username 'foo', who
> should own the file? Or if a file has an ACL user:foo:rwx, what
> should the remote ACL be if the system has no user foo? Some of the
> same problems can occur when restoring, if the users/groups have
> changed between backup and restore.
Just like in tar. By default works as userxyz but has option --numeric-owner.
> > 1. For ownership and ACLs, normally record only user and group
> > names, not ids. Record ids only if user/group names are not
> > available.
Always record both and then when restoring depend on cmd line options.
> > 2. When mirroring or restoring, the default would be to:
> >
> > A. Preserve the original user and group for ownership and ACLs.
> > If ownership preserving is impossible (because of lack of
> > permissions or missing groups), set to current user and
> > group.
> >
> > If the original user/group name was not available, try to
> > preserve the user/group id.
> >
> > For ACLs, if a user or group is missing, just omit that
> > particular ACL entry.
and print big warning about it.
--
Arkadiusz MiĆkiewicz CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [rdiff-backup-users] Proposal for handling user/group ownership and ACLs,
Arkadiusz Miskiewicz <=