delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/08/17/04:28:40

X-Spam-Check-By: sourceware.org
Date: Fri, 17 Aug 2007 10:28:08 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync problems from Vista installed cygwin, ok on XP
Message-ID: <20070817082808.GM28407@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <12125308 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
In-Reply-To: <12125308.post@talk.nabble.com>
User-Agent: Mutt/1.4.2.2i
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

On Aug 13 05:28, DaveB wrote:
> 
> My cygwin on Vista seems to work but when I try to do rsync to fixup files on
> my unix ftp server, it chokes with lots of errors and does a bizarre reset
> of the permission bits for the destination folder.  Here's what happens: 
> [this is the same rsync command that works fine on XP]: 
> 
> =========================== 
> $ rsync -avz --stats --progress -e ssh . mylogin AT myftp DOT com:/mypath/wherever/ 
> mylogin AT myftp DOT com's password: xxxxxx 
> building file list ... 
> 8 files to consider 
> ./ 
> rsync: failed to modify permissions on "/mypath/wherever/.": Permission
> denied (13) 
> rsync: recv_generator: failed to stat "/mypath/wherever/firstfile.xxx":
> Permission denied (13) 
> rsync: recv_generator: failed to stat "/mypath/wherever/secondfile.xxx":
> Permission denied (13) 
> ...etc... 
> rsync: recv_generator: mkdir "/mypath/wherever/." failed: Permission denied
> (13) 
> *** Skipping everything below this failed directory *** 

http://cygwin.com/acronyms/#WJFFM

For testing I copied over the whole /usr directory from my Vista box to
a Linux machine.  I'm rather puzzled how setting permissions on the
*remote* machine should be affected by the OS of the source machine.

I guess we need much more information.  Are the affected directories
Cygwin-created directories or natively created dirs?  Do they contain
spaces or native characters?  What are the local permissions on them
(getfacl/cacls)?  Does your Vista account have admin privileges?  UAC
switched on?  If so, is rsync running normally with reduced privileges
or "as administrator"?  Is your remote Unix account root or non-root?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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