X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_32 X-Spam-Check-By: sourceware.org From: "Jason Pyeron" To: References: <4A2F3427 DOT 8010506 AT sbcglobal DOT net> Subject: RE: backup XP on Linux using rsync over ssh: permissions problems Date: Wed, 10 Jun 2009 14:06:22 -0400 Message-ID: <5BB805FE54FD46C295E6468584F3809E@phoenix> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 > -----Original Message----- > From: H.S. > Sent: Wednesday, June 10, 2009 13:15 > > 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'. > What you have is not a problem, but by design. Unless you make the user/group ids match on both machines, you will either need to strip the perms or access the files by root or equivalent. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. -- 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/