www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-3.6 required=5.0 tests=BAYES_00,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: | backup XP on Linux using rsync over ssh: permissions problems |
Date: | Tue, 09 Jun 2009 23:36:16 -0400 |
Lines: | 32 |
Message-ID: | <h0n9nh$8c2$1@ger.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Hello, I have a XP Pro laptop which has Cygwin installed (with ssh). I run a backup script on a Debian box which rsyncs some directories from XP box to a partition on Debian box using rsync via ssh. The command is something like (rsync script is called as root on Debian and user "root" on the XP box is an admin as well): 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; The problem is that uid and gid are different for the users on the XP box and on the Debian box. When a user browses the backups from XP using ssh (sftp actuall) on Debian box, he is denied permissions. What do Cygwin users do in this case? What I desire is that the backups of the XP box be kept on the Debian box with all users' permissions intact (or as much as possible, for security and privacy). Thanks. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |