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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; q=dns; s=default; b=Vad0tnQZ0EUGy8HLyv9wnG7Uetr/2
	YgsEONrL3cDu5BgUmLKBpjQomc1VOfhdIpr0fXVLqXL6cItttM1qLg/m4I6/3AA7
	dDk85FSvhET/evUY6c1krYS8sLi/dIm+OXfjE0zzvxDIJPHQvouz5cW4eCRWjyC/
	GPH16ZvT6OjsvM=
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:from:to:subject:date:message-id:references
	:in-reply-to:content-type:content-transfer-encoding
	:mime-version; s=default; bh=Qy8OO3qHaDjfbMhKmrm0/3ywOrk=; b=Rz+
	83jLRLnrFs9/m8/Wl/IM43GPHm4GqofBmr5JnXz/MsidiBSFsuz2zsWmvZ2NtEpy
	77hx2iF5BOGcxUvDxgZ05choEvMyx5/3Ur+Urjh9Z71uVpIUV/x6Q71tHmr6fNwF
	xD8H3BfyYzxm1+QvLTU53zORLouB0inhECywFbLU=
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.9 required=5.0 tests=BAYES_00,CYGWIN_OWNER_BODY,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy=Administrator, HX-DKIM:Filter, administrator, Sent
X-HELO: esa3.dell-outbound.iphmx.com
From: "Gluszczak, Glenn" <Glenn.Gluszczak@dell.com>
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com uB7G0I7t023850
X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd52.lss.emc.com uB7G0I7t023850
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: permission question
Date: Wed, 7 Dec 2016 16:00:03 +0000
Message-ID: <91DCAC3CB99C724EB365BB64677FBE7B1036F4@MX204CL04.corp.emc.com>
References: <CAGpXXZ+VL8iUX0bsXavUiOThLnr1aVKy2H5o_hOOSkCBee3pog@mail.gmail.com>
In-Reply-To: <CAGpXXZ+VL8iUX0bsXavUiOThLnr1aVKy2H5o_hOOSkCBee3pog@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
X-Sentrion-Hostname: mailusrhubprd01.lss.emc.com
X-RSA-Classifications: public
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id uB7Hp5pX017328


I've found recently while using cp or rsync that the Administrator account could not access files or set back permissions for files with System account privileges.
I had to resort to xcopy to do things properly.

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Greg Freemyer
Sent: Wednesday, December 07, 2016 10:48 AM
To: cygwin@cygwin.com
Subject: permission question

I have a USB drive with 100,000's of thousands of files I put on it from one PC.  I've built that dataset up over a couple years.

I moved the USB drive to a different PC and I'm trying to rsync it to another drive.

99.9% of the data seems to have made its way from one drive to the other.

But I got a few permission denied messages when reading files off of the source drive.

I really don't need anything but the equivalent of 666 permissions for the source drive files.

I know linux well, but I have screwed up Windows permissions once too often.

Is there a command I should run in Windows or cygwin to grant my user read/write permission to all of the files?

Or I can parse the rsync log file I created and look for the handful of files that failed with permission denied.

Thanks
Greg
--
Greg Freemyer

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


