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 Subject: Re: Rsync question on version 3.0.4 Date: Sat, 23 May 2009 13:30:35 +0200 Lines: 25 Message-ID: References: <38316B3629674D9196F3B47F9722C6C4 AT napoleon> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 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 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/