delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
MIME-Version: | 1.0 |
Subject: | RE: rsync and file ownership |
Date: | Wed, 21 Jul 2004 07:08:20 -0700 |
Message-ID: | <407DF7D68DD30440B5CEB70ED234D1CF053F65C3@excuswa100.americas.unity> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | "Bakken, Luke" <Luke DOT Bakken AT getronics DOT com> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 21 Jul 2004 14:08:22.0185 (UTC) FILETIME=[2E748990:01C46F2C] |
X-IsSubscribed: | yes |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i6LE8TN6028474 |
> On Wed, 21 Jul 2004 17:02:35 +1200, Matthew Dwyer wrote: > > I've been struggling with rsync over ssh for a month. I'm > syncing files > > between windows boxes and I have rsync working except that > its setting > > read only to the groups Administrators and Everyone. > > > > Is there any way I can stop rsync or ssh setting > permissions/ownership > > that wasn't already present in the originating files? I've > tried rsync > > -a... but thats not achieving what I want. > > > > Matt. What I ended up having to do is set CYGWIN=nontsec for my rsync server and client before any transfers. If your directories are set to inherit permissions then the permissions will be set OK based on the parent permissions. For example: $ CYGWIN=nontsec rsync -rtvz server::share /c/foo You can set that variable in your cygrunsrv setup for the rsync daemon. Luke -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |