problem with rsyncing web site
Eberhard Moenkeberg
emoenke at gwdg.de
Sat Jan 21 01:52:30 GMT 2006
Hi,
On Fri, 20 Jan 2006, Wayne Davison wrote:
> On Fri, Jan 20, 2006 at 07:36:22PM -0600, Walls, Bryan (MSFC-IS04) ef wrote:
>> Is there a way to force rsync to take permissions from the enclosing
>> folder? Or something?
>
> One solution is to grab a nightly snapshot tar file of rsync because
> I've added the --chmod=TWEAKS option that will allow you to specify
> something like this:
>
> rsync -av --chmod=Da+x,a+r src/ dest
>
> That makes sure that all dirs get +x and everything gets +r.
Thanks Wayne. A long awaited improvement for mirror servers.
Cheers -e
--
Eberhard Moenkeberg (emoenke at gwdg.de, em at kki.org)
More information about the rsync
mailing list