This is the mail archive of the
mailing list for the Cygwin project.
RE: permission question
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.
From: email@example.com [mailto:firstname.lastname@example.org] On Behalf Of Greg Freemyer
Sent: Wednesday, December 07, 2016 10:48 AM
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.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple