delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/10/13:16:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_32,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "H.S." <hs DOT samix AT gmail DOT com>
Subject: Re: backup XP on Linux using rsync over ssh: permissions problems
Date: Wed, 10 Jun 2009 13:15:26 -0400
Lines: 24
Message-ID: <h0opne$o7e$1@ger.gmane.org>
References: <h0n9nh$8c2$1 AT ger DOT gmane DOT org> <4A2F3427 DOT 8010506 AT sbcglobal DOT net>
Mime-Version: 1.0
User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
In-Reply-To: <4A2F3427.8010506@sbcglobal.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

Greg Chicares wrote:
> On 2009-06-10 03:36Z, H.S. wrote:
>> rsync --delete --modify-window=10  --force -Rvaue ssh
>>     --exclude-from=$EXCLUDESFILE --progress \
>>     xp-box:"/cygdrive/c/Documents\ and\ Settings/user1
>> /cygdrive/c/Documents\ and\ Settings/user2" /mnt/backups/xp-daily-00;
> 
> Does '-p' ('--perms') help with the permissions problems?
> 

This flag "preserve permissions". The permissions are alright currently.
The problem is that a user on XP box ssh'es to the Debian box (and
becomes a Debian user) and then fails to browse the backups of the XP
box which are saved on the Debian box because the XP backups' uid and
gids do not match with Debian users'.



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019