delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Tue, 18 Nov 2008 11:01:08 -0800 |
From: | David Rothenberger <daveroth AT acm DOT org> |
Subject: | Re: 1.7 - noacl for cygdrive |
In-reply-to: | <gfumbo$kgu$1@ger.gmane.org> |
To: | cygwin AT cygwin DOT com |
Message-id: | <492310F4.2060003@acm.org> |
MIME-version: | 1.0 |
References: | <BAY109-DAV5E40608D19FE2E2F03C77CF130 AT phx DOT gbl> <gfumbo$kgu$1 AT ger DOT gmane DOT org> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
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 11/18/2008 7:18 AM, Richard Ivarson wrote: > So it's not just me having massive problems with the NT permissions > which are being messed up by Cygwin tools like rsync. Actually most > Cygwin users should see these problems, I guess, because Windows 2000 > and XP use NTFS. I can't use rsync anymore, because the permissions > of the destination are all wrong after rsync resets them... Oh what a > pity! I use rsync all the time with Cygwin and don't have problems with permissions, because I set "nontsec" in the CYGWIN environment variable as necessary when I want the Windows permissions to be used. For example, if I'm copying from a remote server to my local server, I'd do this: % CYGWIN=nontsec rsync -r remote:/path . If I'm copying to a remote Cygwin box and I want to use the default permissions on the remote box, I use this: % rsync -r --rsync-path="CYGWIN=nontsec rsync" ./ remote:/path > The "-perms" (-p) option I don't use. Another option that can be useful is the --chmod option in rsync. I use this with --perms when I'm copying from a Cygwin box to a unix box. (You don't want to use "nontsec" if you use this.) -- David Rothenberger ---- daveroth AT acm DOT org Bennett's Laws of Horticulture: (1) Houses are for people to live in. (2) Gardens are for plants to live in. (3) There is no such thing as a houseplant. -- 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 |