delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/07/13:23:46

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=Fqz4ZHZ
VR4geVz/7mMgDwJoWNJuo4o1cBAnLoLz+yNMLlxADolirKJlHIayR6W9O1JEY5Fw
iys9FbSNKgIu0JXWc2T0a+69WMoNGVnVtFiuoeTAedzFzMfxlwU0lkkLiWCc5S3e
p8KvT0Xjl/Cc0eia0p+lAejwAftGbS+SOwxs=
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=xxIZaBnOfl7b+
tKew+ezNlxZ3zs=; b=Bo6w/MAFezu7bsoL8qH28G6QdaF6WxRAbi5tz7QY6mQap
EoCnwHn/+juOfPtZMM6BnAuM/C86KoRr+ZGYhGO1rtC1w7uVywmXh+7EN801eowf
3a+mN5TGVuui7C1jYqR1n2As8Hnb4Yfce3wjRamxqSoF3drw8b+ZjU+8LlleB4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=folders, gregfreemyergmailcom, sk:gregfr, greg DOT freemyer AT gmail DOT com
X-HELO: mail-io0-f181.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=mVaq79SWT2v3v8pAYEoFtpWSvVm3uJA3ZS4L52R6fdU=; b=XhdqhvG9t1BpDZvgiHqyJcJBupcKtiI7uC/yzsc+j+PgonFszSm8SEBN4qE9y+RojU EfrtQ9Y6U0s/U1mCc23OarjjBlqnT2jWvIlg8vLPGOWBQI86UeTAtryWYCMABZBH0pgG faa6isCPmJj6P7XPnwwV7Ul0wDoLanHKocHEa35H32Ejb+K+ouKD52R0zblCBBan2SVh HoK9PMo1m89Tt/9DADUM3oWuUmtg6M1C+5LoWtFCoBcxoptRKkKdYKGwGH67FpvgP6cx N5sAEJAPB2fW+p9BDaT3evSs3wlq4nb4LIBKWDqdBQ7uFmooSC1+Xs0ZzFLg9c+i53Js BArw==
X-Gm-Message-State: AKaTC01tro7496NZ1eaajm3H6RwrFaWGEA28vDb9beRkg7uCHUZk9f9yOdtX/E2XqILXGpJJg9td3WAqd7WvUg==
X-Received: by 10.36.194.70 with SMTP id i67mr3352424itg.21.1481134969181; Wed, 07 Dec 2016 10:22:49 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAGpXXZ+VL8iUX0bsXavUiOThLnr1aVKy2H5o_hOOSkCBee3pog@mail.gmail.com>
References: <CAGpXXZ+VL8iUX0bsXavUiOThLnr1aVKy2H5o_hOOSkCBee3pog AT mail DOT gmail DOT com>
From: Greg Freemyer <greg DOT freemyer AT gmail DOT com>
Date: Wed, 7 Dec 2016 13:22:08 -0500
Message-ID: <CAGpXXZJj=c+MnUHTrk1aaf-kx3qy8uFVo9psRaNks0em2bKT_Q@mail.gmail.com>
Subject: Re: permission question
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Wed, Dec 7, 2016 at 10:47 AM, Greg Freemyer <greg DOT freemyer AT gmail DOT com> 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.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019