qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.15k stars 39.06k forks source link

Permission denied #24167

Closed Jark5455 closed 2 months ago

Jark5455 commented 2 months ago

Issue Description

Hello,

Currently I am trying to compile a custom firmware in msys, however I get the error.

☒ Unknown error attempting to load C:/Users/Me/qmk_firmware/keyboards/gmmk/pro/rev1/ansi:
        [Errno 13] Permission denied: 'C:/Users/Me/qmk_firmware/keyboards/gmmk/pro/rev1/ansi'

The qmk_firmware folder is owned by my user and my user has read and write access to that folder. I am not sure why qmk doesn't have permission to access that folder.

fauxpark commented 2 months ago

Impossible to tell without additional information and context. It could be solved by deleting and recloning, or it might simply be that your Windows install is broken in some weird way.

Jark5455 commented 2 months ago

Setting a default keyboard allows it to read, but without a default keyboard, I get the permission error.

fauxpark commented 2 months ago

I have no idea what that means. What command are you running?

Jark5455 commented 2 months ago

qmk config user.keyboard=gmmk/pro/rev1/ansi and adjusting the compile command from qmk compile -kb gmmk/pro/rev1/ansi -km map to qmk compile -km map

fauxpark commented 2 months ago

I can't reproduce this with the default keymap. The issue is something to do with your machine.