[Samba] rsync folder permissions

Marcio Merlone marcio.merlone at a1.ind.br
Mon Jul 23 05:41:23 MDT 2012

Em 22-07-2012 05:13, steve escreveu:
> I'm trying to rsync our filserver to a USB backup. When I first start, 
> all the folders are created with
>  root:root
> ownership whereas the actual owners are
>  root:Domain Users
> or
>  root: one.of.our.groups
> Eventually, the groups show correctly, but not always. My question is, 
> when rsync creates the new directories, does it respect user and group 
> all the way along or must we wait for the end of the rsync to find out?

Issue the command 'man rsync' and take a look what the -a switch does. 
It acts as if many other switches were issued. Take a look at each, 
specially -p.

Good luck.

*Marcio Merlone*

More information about the samba mailing list