need to fix permissions
Thu Jul 16 01:46:07 GMT 2020
On Wed, 15 Jul 2020 07:49:30 -0600
Bill Stewart <firstname.lastname@example.org> wrote:
> On Tue, Jul 14, 2020 at 6:34 PM <briand@...> wrote:
> the cygwin home folder is giving me a LOT of trouble with access denied.
> > i've tried takeown and icacls to fix permissions, and strangely it worked
> > for _Some_ files, but i still have files which i need to back up which are
> > causing "access denied" errors.
> > i'm hoping someone who understands how cygwin has set permissions can give
> > me a way to fix-up the permissions in ntfs land.
> The following is what I have used successfully in the past and should reset
> 1. Open an elevated PowerShell or cmd.exe shell
> 2. Take ownership to Administrators group:
> takeown /F "C:\cygwin" /A /R /D Y
> 3. Reset all file permissions:
> icacls "C:\cygwin" /reset /T /C
> 4. Reset the file attributes:
> attrib -h -r -s "C:cygwin\*" /s
Thank you very much !
I didn't see anybody mention that attrib step, in all the _many_ docs that i read.
More information about the Cygwin