delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/07/17:28:56

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=jArekJu
sXQC1E1msLQONLVxZcXHf8Nk+WF9fXdOHfMWAOmBals4vWBjOrXhjUoCKLHelpOZ
Y1PEv8GY9xLHzs5sFfjryJOP+9KU2NBW9oPxMGqizu/0Kw+5fbsBMMoElkApQBns
qukp/tPksmky4X5FXIic/6xj1NFzXXmhqWyk=
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=VkR0mtqcOY/1k
8lb3W9d8bAKsbs=; b=e+dlYevCRkTwmCbWBTeZm/7eIa7ZcjJFuMzpQM8ttziIp
9v/VL7WoaRcJcCaOQm92gHB8eW0XX4Z9E8/JZhagxUrD/U2EJ4YWIONdp//5+X0A
H8E7jIPa9wktx+YmZ7aH+s8afpKq1jxAhEeos+eV/y3sEa65Bmn2pfb5Kep/YM=
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=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Admin, Hx-languages-length:1091, million, H*f:sk:hZPGSCZ
X-HELO: mail-wm0-f45.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=2xWRC7vNp2Xp/tUSa1bfaui6qTbyKQGueRfdUUm4ojk=; b=cUFkxA3ZXnAzNFAKde/vat28eBb+C0TvhQi/6nhW12gPJuHVI4if5mgUvN/8c4XLH1 THniRynFWowWi2zdRRd03EN397NnZDGtIFnLICr7qbsgzH+TJJMo0xVm6xMPT3X929wp 2/b9F7/tpcdB4vnvpoFeMcOjZ9ebS2XuYP0j6vOdtJTaUS7SIJ3qKJViSx9wGWX/CEdW x7ZcPlD6HQAk4bdUsvPP2oq1ZuS3FGKFwzwVg5YKU1nHV2LFgE2bBNSmzMgGfas8g/2c 6uHZqRk+GmSkXso4phby/ZyNafAaUkU3X7E2MLlWhlpSj8RXTwX2bQFtoBVONR8oVTSA bLnw==
X-Gm-Message-State: AKaTC03wOZn0iBAY8ZcG+1v+1RWBrLmuqbFXMea6uksfmn727jMNOYEuiZffB9VjhWeOnsLXrmN0xW8N8ihzyA==
X-Received: by 10.46.71.210 with SMTP id u201mr32279803lja.69.1481149713269; Wed, 07 Dec 2016 14:28:33 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAGpXXZJRcoSzg4kw_jmQP5zQqVExhNck0ioE+hZPGSCZRojmxQ@mail.gmail.com>
References: <CAGpXXZ+VL8iUX0bsXavUiOThLnr1aVKy2H5o_hOOSkCBee3pog AT mail DOT gmail DOT com> <CAGpXXZJj=c+MnUHTrk1aaf-kx3qy8uFVo9psRaNks0em2bKT_Q AT mail DOT gmail DOT com> <CANnLRdgjY5oQF1hLE75tg_b4ut881PFp+=uWB6jtN1-ya7sf2w AT mail DOT gmail DOT com> <CAGpXXZJKZFuE-yNpZJ0syjgShdkigV+kj5XudS71r0Mw+2D3Bw AT mail DOT gmail DOT com> <CACoZoo3xmZbi_=NK-xj8wLx52v5OFS-TcHvYf=RROtMJYkhyDg AT mail DOT gmail DOT com> <b3da66f3-5baa-3c02-643e-f540047bb9f8 AT SystematicSw DOT ab DOT ca> <CAGpXXZJRcoSzg4kw_jmQP5zQqVExhNck0ioE+hZPGSCZRojmxQ AT mail DOT gmail DOT com>
From: Erik Soderquist <ErikSoderquist AT gmail DOT com>
Date: Wed, 7 Dec 2016 17:28:32 -0500
Message-ID: <CACoZoo0n_kdebRnzrvW0J4yAoG7mWObKuR6MHwiwUcg-ZA5W6w@mail.gmail.com>
Subject: Re: permission question
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Wed, Dec 7, 2016 at 5:08 PM, Greg Freemyer <greg DOT freemyer AT gmail DOT com> wrote:
> If I'm going to relegate rsync to the trash bin due to it not
> supporting Windows permissions well enough to be useful, I've got
> other Windows recursive copy tools I use that don't preserve
> permissions either.

I still use rsync in cygwin, just not on things that have "separate"
windows permissions

> I can't tell you how much I love Windows security permissions.  :(

Same!

> In the mean time I have a huge number of folders now on my destination
> drive I need to delete.  (over a million files it seems).
>
> Neither cygwin, nor windows says I have permission to delete them.
>
> Any idea how I can do it short of reformating.

This will obliterate the permissions, so you are aware up front...

In the Windows security dialog, go to advanced --> owner, and forcibly
take recursive ownership of the tree.  On annything you do not have
access to, Windows should prompt you to overwrite the security so you
do have access.  Local Admin is required to be able to do this.

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

- Raw text -


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