esp-open-sdk icon indicating copy to clipboard operation
esp-open-sdk copied to clipboard

File permissions issues compiling with cygwin/windows

Open prabbit237 opened this issue 6 years ago • 0 comments

I was having issues with both the case-insensitivity and also with some directories becoming inaccessible (I don't recall the exact spot/error message but it was when it was trying to create a test file esp-open-sdk/xtensa-lx106-elf/foo (or something such.) It would wind up with the permissions on the directory set so that it wasn't accessible from my account, even though I'm an admin on the Windows machine.

My final workaround (in case anyone else has the same issues) was to add a line in the fstab that read:

e:/esp /esp ntfs binary,noacl 0 0

Then I cd'ed to the e:/esp in the bash shell and ran git to grab all the files and it seems to be fine now (it's still building but it's gotten much further than before so I'm hopefull it'll finish.)

So not having posix=0 as a mount option and using the registry fix (see https://cygwin.com/faq/faq.html#faq.using.case-sensitive) fixed the issue with case-sensitivity and having the noacl option made cygwin quit changing the file permissions.

So this isn't really a bug report but simply helping if anyone else has the same issue come up.

prabbit237 avatar Apr 05 '18 03:04 prabbit237