Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: Date: Wed, 21 Jul 2004 09:27:05 -0400 From: Robert Pendell To: cygwin AT cygwin DOT com Subject: Re: rsync and file ownership In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-IsSubscribed: yes Don't use the -a option if you don't want to preserve the permissions. From the man page: -a, --archive archive mode, equivalent to -rlptgoD And now a breakdown of each option from the man page (you can use what you need then) -r, --recursive recurse into directories -l, --links copy symlinks as symlinks -p, --perms preserve permissions -t, --times preserve times -g, --group preserve group -o, --owner preserve owner (root only) -D, --devices preserve devices (root only) HTH. 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. > > > -- > 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/ > > -- Robert Pendell shinji257 AT gmail DOT com -- 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/