# I finished installing bootstrap now I get this error when I run make

**URL:** https://discourse.cmake.org/t/i-finished-installing-bootstrap-now-i-get-this-error-when-i-run-make/2828
**Category:** Usage
**Created:** [February 24, 2021, 1:04am UTC](https://discourse.cmake.org/t/i-finished-installing-bootstrap-now-i-get-this-error-when-i-run-make/2828 "2021-02-24T01:04:08Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ognjano3](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ognjano3](https://discourse.cmake.org/u/ognjano3)
#### Post date: [February 24, 2021, 1:04am UTC](https://discourse.cmake.org/t/i-finished-installing-bootstrap-now-i-get-this-error-when-i-run-make/2828/1 "2021-02-24T01:04:08Z")

</div>

CMake Error: Cannot open file for write: /home/aleksa/cmake-3.17.3/Source/kwsys/CMakeFiles/cmsys\_c.dir/depend.make.tmp  
CMake Error: : System Error: Permission denied  
make[2]: \*\*\* [Source/kwsys/CMakeFiles/cmsys\_c.dir/build.make:207: Source/kwsys/CMakeFiles/cmsys\_c.dir/depend] Error 2  
make[1]: \*\*\* [CMakeFiles/Makefile2:1676: Source/kwsys/CMakeFiles/cmsys\_c.dir/all] Error 2  
make: \*\*\* [Makefile:183: all] Error 2

Any next steps would be greatly appreciated.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [February 24, 2021, 9:35pm UTC](https://discourse.cmake.org/t/i-finished-installing-bootstrap-now-i-get-this-error-when-i-run-make/2828/2 "2021-02-24T21:35:03Z")

</div>

Hmm. More information would be required. Are there any system logs about that file (e.g., SELinux). Other than that, a permission error at this step is quite odd.

---

<div class="post-metadata">

### Author: ![ognjano3](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/ecccb3/32.png) [@ognjano3](https://discourse.cmake.org/u/ognjano3)
#### Post date: [February 25, 2021, 6:55pm UTC](https://discourse.cmake.org/t/i-finished-installing-bootstrap-now-i-get-this-error-when-i-run-make/2828/3 "2021-02-25T18:55:01Z")

</div>

It worked when I put sudo in front of make, it asked for my password and I was able to complete the download process

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [February 25, 2021, 7:17pm UTC](https://discourse.cmake.org/t/i-finished-installing-bootstrap-now-i-get-this-error-when-i-run-make/2828/4 "2021-02-25T19:17:33Z")

</div>

That is…very odd. What stopped you from writing to your own home directory like that?
