delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/23/07:31:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Lapo Luchini <lapo AT lapo DOT it>
Subject: Re: Rsync question on version 3.0.4
Date: Sat, 23 May 2009 13:30:35 +0200
Lines: 25
Message-ID: <gv8mos$agj$1@ger.gmane.org>
References: <38316B3629674D9196F3B47F9722C6C4 AT napoleon>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
In-Reply-To: <38316B3629674D9196F3B47F9722C6C4@napoleon>
OpenPGP: id=C8F252FB; url=http://www.lapo.it/pgpkey.txt
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

Jan Alphenaar wrote:
> When I copy over a directory from my server to my local pc with rsync, it is
> not possible to open the local directory

Do you mean the origin has 644 files and the destination has 000 file
permissions?

Also as you're not using -p the destination file permission are not
copied from the origin ones:

  When this option is off, permissions are set as follows:

  o  Existing files (including updated files) retain their existing
     permissions, though the −−executability option might change just
     the execute permission for the file.

  o  New files get their “normal” permission bits set to the source
     file’s permissions masked with the receiving directory’s default
     permissions (either the receiving process’s umask, or the
     permissions specified via the destination directory’s default ACL),
     and their special permission bits disabled except in the case where
     a new directory inherits a setgid bit from its parent directory.

-- 
Lapo Luchini - http://lapo.it/


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