Re: [Samba] rsync folder permissions

2012-07-24 Thread Thomas Mueller
Am Mon, 23 Jul 2012 13:57:56 +0200 schrieb steve:

 H Yes. I was missing the -a switch:
 rsync -auzv source destination works fine but I found that the owner and
 group are not synced until the last moment. Impatience perhaps.
 Cheers,
 Steve

you should also consider -X (xatters) -H (hardlinks) and -A (ACL's).

- Thomas

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] rsync folder permissions

2012-07-24 Thread steve

On 24/07/12 13:49, Thomas Mueller wrote:

Am Mon, 23 Jul 2012 13:57:56 +0200 schrieb steve:


H Yes. I was missing the -a switch:
rsync -auzv source destination works fine but I found that the owner and
group are not synced until the last moment. Impatience perhaps.
Cheers,
Steve


you should also consider -X (xatters) -H (hardlinks) and -A (ACL's).

- Thomas


Hi Thomas
Would that be:
rsync -auzvXHA source destination

Cheers,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] rsync folder permissions

2012-07-23 Thread Marcio Merlone

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*
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] rsync folder permissions

2012-07-23 Thread steve

On 23/07/12 13:41, Marcio Merlone wrote:

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*

Hi

Hi Marcio, hi everyone
Yes. I was missing the -a switch:
rsync -auzv source destination
works fine but I found that the owner and group are not synced until the 
last moment. Impatience perhaps.

Cheers,
Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba