Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pkg/build: consistently chown new files
Kernel build runs under sandboxed user, while the rest of the code runs under root. Sandboxed user does not have access to root files. Chown all new created files for sandboxed user. Currently builds fail with: unable to write 'random state' writing new private key to 'certs/signing_key.pem' certs/signing_key.pem: Permission denied 22979106625176:error:0200100D:system library:fopen:Permission denied:bss_file.c:398:fopen('certs/signing_key.pem','w') 22979106625176:error:20074002:BIO routines:FILE_CTRL:system lib:bss_file.c:400: certs/Makefile:55: recipe for target 'certs/signing_key.pem' failed make[1]: *** [certs/signing_key.pem] Error 1 Makefile:1053: recipe for target 'certs' failed make: *** [certs] Error 2
- Loading branch information
Showing
1 changed file
with
36 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters