Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing tool permissions when compiling code #353

Open
hannes-angst opened this issue Dec 16, 2018 · 0 comments
Open

Missing tool permissions when compiling code #353

hannes-angst opened this issue Dec 16, 2018 · 0 comments

Comments

@hannes-angst
Copy link

Description:
The python script in the sdk folder are missing +x flag.

Error

$ make clean all
...
Run objcopy, please wait...
objcopy done
Run gen_appbin.py
make: /Volumes/esp/esp-open-sdk/sdk/tools/gen_appbin.py: Permission denied
make: *** [build/app.out] Error 1

Cause:

/Volumes/esp/esp-open-sdk/sdk/tools$ ls -la
total 72
drwxr-xr-x   8 angst  admin   256B 16 Dez 12:23 ./
drwxr-xr-x  17 angst  admin   544B 16 Dez 12:23 ../
-rwxr-xr-x   1 angst  admin   2,1K 16 Dez 12:23 README.md*
-rw-r--r--   1 angst  admin   8,7K 16 Dez 12:23 gen_appbin.py
-rw-r--r--   1 angst  admin   2,2K 16 Dez 12:23 make_cacert.py
-rw-r--r--   1 angst  admin   2,6K 16 Dez 12:23 make_cert.py
-rwxr-xr-x   1 angst  admin   6,4K 16 Dez 12:23 makefile.sh*
-rwxr-xr-x   1 angst  admin   170B 16 Dez 12:23 rmfile.sh*

Fix

/Volumes/esp/esp-open-sdk/sdk/tools$ chmod +x *.py

Solution
Added this to the Makefile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant