Replies: 1 comment
-
|
I also have this permission error for I "fixed" it before for the unity.c file by running |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First off, thanks for this project. I have been using it for many years now. It is really exciting to see Ceedling 1.0 and all of the fixes and features it comes with.
As part of ceedling's build process, it copies the
unity,cmock, andcexceptionsource files into:build_root:/vendorfrom theUNITY_LIB_PATH,CMOCK_LIB_PATH, andCEXPCEPTION_LIB_PATH. That occurs inlib/ceedling/configurator_setup.rb, here.I have found that if the source files found in
UNITY_LIB_PATH,CMOCK_LIB_PATH, andCEXPCEPTION_LIB_PATHhave read-only permissions, thenFileUtils.cp_rwill preserve them when it makes the recursive copy. The firstceedlinginvocation will succeed, but subsequent invocations will fail with a permission error because the files already exist as read-only in my:build_root:/vendor:🧨 EXCEPTION: Permission denied @ rb_sysopen - ./build/ceedling/vendor/unity/src/./unity.hI can hack around this with a command hooks:
Would it be reasonable to change
configurator_setup.rbto chmod the files after it has copied them?Beta Was this translation helpful? Give feedback.
All reactions