X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: 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 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" 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 AT cygwin DOT com" Subject: RE: permission question Date: Wed, 7 Dec 2016 16:00:03 +0000 Message-ID: <91DCAC3CB99C724EB365BB64677FBE7B1036F4@MX204CL04.corp.emc.com> References: In-Reply-To: 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 AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Greg Freemyer Sent: Wednesday, December 07, 2016 10:48 AM To: cygwin AT cygwin DOT 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