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 ([EMAIL PROTECTED], [EMAIL PROTECTED])
--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to