- To: Robert Collins <robertc@xxxxxxxxxxxxxxx>
- Subject: Re: [SLUG] Apologies [Was: Copying Home directories to a new server]
- From: mlh@xxxxxxxxxx
- Date: Mon, 5 May 2003 23:18:32 +1000
- Cc: jdub@xxxxxxxxxxxxxx
- Cc: slug@xxxxxxxxxxx
On 05 May 2003 21:03:17 +1000
Robert Collins <robertc@xxxxxxxxxxxxxxx> wrote:
> On Mon, 2003-05-05 at 20:25, mlh@xxxxxxxxxx wrote:
> > On 05 May 2003 20:15:36 +1000
> > Robert Collins <robertc@xxxxxxxxxxxxxxx> wrote:
> > >
> > > > (Compare with that other OS. Share /home. Drag and drop. Wait. Done.)
> > >
> > > *cough*. Actually, that other OS gets it 'wrong' too.
> >
> > Details? Does it foul up shortcuts or something?
> >
> > (I was referring to it's own files, not linux files, symlinks
> > etc on a samba share or something.)
>
> When copying / moving via explorer / winfile ACL's are reset to the
> default inherited ACL on the target filesystem.
>
> To preserve ACL's, one needs to use scopy / xcopy with /? (I don't
> recall the option to preserve ACL's offhand) / a third party product.
>
> It even manages to lose ACL's moving between partitions within a single
> machine - expecting it to get cross machine ACL's right via the GUI is
> *to much*.
AH good point, though it can be argued that the files SHOULD inherit
the perms of the destination by default, and required a special tool
to preserve.
That's sorta what happens in unix anyway, especially if you're root.
While we're talking about ACLs, there doesn't seem to be any archiving
tool that preserves acls on linux -- I just grepped the man pages for cpio, tar,
dump, restore and pax. It looks like you have to do it with a separate
getfacl/setfacl pair.
Matt