X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=kWlsJ6n
	Ze82vk6cHrOJQT8703M4e7rtLsAIe6gLGMOBvLiJfdRlWpIbkX46Hzmn7ocDWDOc
	uVKauczEJdGOsmQB+yaHPJwSE3WOP6xuknP13aGFoWRXF5x5vpgo1tjwtom8/mnE
	AAZFYUIF+JcWEbia6O4etSFwj8U5WtjCZcjI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=578JJObnX/ySL
	Qm9Y5+bIRk8Bqk=; b=xlXRSQBbovEydJvBU2XdMIBoh4cawLmAimcpO3VnPqGE5
	KWnLhwHoINxsFXTJNGkxxaQzKjRpCC/VgvzX9qOChogwX9Km+b2N9hpLpgRBxKRo
	/w/FoYidWyao7eoh+b4+JeU6qOeQdyanSYB24d8D10461ff4BOPH3ClaLm992A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_WEB,SPF_PASS autolearn=no version=3.3.2 spammy=granular, H*i:sk:CAGpXXZ, H*i:sk:2D3Bw@m, H*i:kj5XudS71r0Mw
X-HELO: mail-wm0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from         :date:message-id:subject:to;        bh=A1yOV8ex1JpGzOnN9HJd3DernVtLXpHComDjLftbBsk=;        b=htvzqzT1HK9JGYpSS3d+8ZsDgqWcoyJStnktN8+ec9MsKTm5W+R5G0INgma+fjBk77         SjfovI/MKU3sYWpmS+Qn8vtDZs7xTTgBP1gi9K2JiXmHxE1FmkC8BeqMco/6xNY+a9wF         +NWxKKlpwAq4H4bx5q/1DVhTwimYiGmCOJAlL42rMLm6MUuKK6TwWMEvIXBoHq1aHGR2         BWKtPP3xFgRZPMtK2ZFa+82kEU4hFq5uNnhJhimpohP5lTN4PRsudDG+mhYBJgYEirvy         VhZE5INBMIU8xfOCMOTbkMPT/6uB5Hdtj63iYr5ykXqNg/ECQfkfPTJPi1mKp0BXyHja         O2qQ==
X-Gm-Message-State: AKaTC01HczSC5bEKg3VrqE+ThXudL49jFikKim6/Ahzm747H+qs52THwXJ0M8qK6uSCuqtMwpi6/fNdFOhXX5g==
X-Received: by 10.46.71.210 with SMTP id u201mr32125290lja.69.1481141522445; Wed, 07 Dec 2016 12:12:02 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAGpXXZJKZFuE-yNpZJ0syjgShdkigV+kj5XudS71r0Mw+2D3Bw@mail.gmail.com>
References: <CAGpXXZ+VL8iUX0bsXavUiOThLnr1aVKy2H5o_hOOSkCBee3pog@mail.gmail.com> <CAGpXXZJj=c+MnUHTrk1aaf-kx3qy8uFVo9psRaNks0em2bKT_Q@mail.gmail.com> <CANnLRdgjY5oQF1hLE75tg_b4ut881PFp+=uWB6jtN1-ya7sf2w@mail.gmail.com> <CAGpXXZJKZFuE-yNpZJ0syjgShdkigV+kj5XudS71r0Mw+2D3Bw@mail.gmail.com>
From: Erik Soderquist <ErikSoderquist@gmail.com>
Date: Wed, 7 Dec 2016 15:12:01 -0500
Message-ID: <CACoZoo3xmZbi_=NK-xj8wLx52v5OFS-TcHvYf=RROtMJYkhyDg@mail.gmail.com>
Subject: Re: permission question
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

> I really like cygwin and have used it for a decade plus.  Only in the
> last year or 18-months have I noticed significant permission issues
> that slow down my workflow.
>
> Copying these folders/files from one drive to another is a task I'd
> like to accomplish, but even more importantly I'd like to understand
> how to work with permissions in cygwin.  As it is, I'm concerned I
> will have to leave cygwin behind and I don't want to do that.

I've been a Windows and Linux admin for years, and Windows permissions
can be a pain, but can also be very granular.

What I normally do for something like this is use robocopy's "backup mode"
switch to bypass permissions on the source entirely and intentionally not
copy the permissions to the destination, then set up the permissions I want
on the destination after the copy is complete.

The "backup mode" option requires either backup operator or local admin
permissions to use.

-- Erik

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

