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:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; q=dns; s=default; b=MTkOlP5 a6LOGNDNqdfMErtkCt9qNA5Soj9JaeO19j8G2tpFug5hQP9lt7HJPWof0WuNZyp8 +zW3Dp9nUovVf3O/XsCJtpe7TZOxizxdFD+9MrFA2URZBFU9eLuzIBx6NoXj1VBa 70mYh+UZ0FDD43a4bSxOGWVcc468BmbsXBeg= 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=bbwmS5GmAqStj Vux4L3GNAYf9Ug=; b=FJ1UYoROFyZc5g5IUPcUVgglI6X37q691s9v09XUnoTYO A6DTXfPJ9Cet4N5pRQ5b/vqtmtwvuMDUB6I/tv0/eTtE2RpCiEsesU/fmY+f8Tfn kqCIwEXPZcMl3WOpPDTMsgahvuQb6zYB+Ve+gfmy4G239hj2nIubOx6u6co+Ec= 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.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=glenn, Glenn, dell, xcopy X-HELO: mail-vk0-f47.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:in-reply-to:references:from:date :message-id:subject:to; bh=uhEtq1IMRIln2PyiBjeJ+6kS/YODr83YtjdlO9G7jjQ=; b=KZxLqYEcJZgWDvu7AFnZJdujwvMxyclbn0wdEZLsWYyQEYVEnEaGKSzQ7od83+KLXt 1g5MlQ6Ixpj7icKk6ZC9eA56SW1CLD+rCpBhsxq3pMqG84FoW2z9M/nLOmljq4jfnSjq qHbQSxlcEfV0mvDngk2H9aqXFYquwhMO8/E7BRTm1iF24gA4ZUzmlz11ZrV4SRl+5e4P IunZZwxPJeIlH72yeU4VSeUKkGPiDKLGDzOvVVpcj9BDHh5ftK0P2aGtiM6OjbTP6x7a ZetTgitylTliJuD+dWL98B3BfC7Pe3Rn9svblEsTDSaA5Wke1AdAHa8woqaKx8cQVBqj VuNw== X-Gm-Message-State: AKaTC02Ay0lh8/HEYxiZvsB5FYI9UAfjnNO+5NYOPhXW6Yxs6CtXo0tll5gDiuq9g4PoaNkCI7qrzonPhaBi4Q== X-Received: by 10.31.160.214 with SMTP id j205mr26308039vke.92.1481136494237; Wed, 07 Dec 2016 10:48:14 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Stephen John Smoogen Date: Wed, 7 Dec 2016 13:48:13 -0500 Message-ID: Subject: Re: permission question To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On 7 December 2016 at 13:22, Greg Freemyer wrote: > On Wed, Dec 7, 2016 at 10:47 AM, Greg Freemyer wrote: >> 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 > > It's worst than I thought. > > I used rsync -avP to make the copy of the folders / files. (Its > 2.5TB, so it took all day yesterday to run). > > I'm trying now to use "rsync -cvr" to compare the checksums of the > source / destination and re-copy any that got corrupted. > > The trouble is lots of the destination files can't be read due to > permission issues, so the compare doesn't match and the rsync is > copying the same files again. > > I admit to having little understanding of the Windows / cygwin > permissions integration. Or even Windows permissions standalone. I > do understand Linux permissions well. > > I'm tempted to just do a "chmod 755 -R .", but I've just had too many > windows permission issues in the last year to start trying things > without guidance. That would probably make things worse. I believe that Windows permissions are like attribs in Linux (which moves it into witchcraft and sorcery). For dealing with this sort of issue I would look at using the xcopy that Glenn from dell mentioned. > Greg > > -- > 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 > -- Stephen J Smoogen. -- 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