This is the mail archive of the
mailing list for the Cygwin project.
Re: permission question
On Wed, Dec 7, 2016 at 5:08 PM, Greg Freemyer <firstname.lastname@example.org> 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"
> I can't tell you how much I love Windows security permissions. :(
> 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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple