Skip to content

Commit

Permalink
kpkg: build: set permissions for homeDir
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Jul 31, 2023
1 parent 873cf63 commit c32ac5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/kpkg/build.nim
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ proc builder(package: string, destdir: string,

# Create homedir of _kpkg temporarily
createDir(homeDir)
setFilePermissions(homeDir, {fpOthersWrite, fpOthersRead, fpOthersExec})

if existsPrepare != 0 and not usesGit:
folder = absolutePath(execProcess(
Expand Down

0 comments on commit c32ac5e

Please sign in to comment.