Skip to content

Commit

Permalink
Commit from GitHub Actions (Format Nim Files)
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Aug 14, 2023
1 parent aeeaf62 commit b83eeef
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions kreastrap/kreastrap.nim
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@ proc initDirectories(buildDirectory: string, arch: string) =
setFilePermissions(buildDirectory&"/etc", {fpUserExec, fpUserWrite,
fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/usr", {fpUserExec, fpUserWrite, fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/usr/bin", {fpUserExec, fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/usr/lib", {fpUserExec, fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})
setFilePermissions(buildDirectory&"/usr", {fpUserExec, fpUserWrite,
fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/usr/bin", {fpUserExec, fpUserRead,
fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/usr/lib", {fpUserExec, fpUserRead,
fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})


setFilePermissions(buildDirectory&"/var", {fpUserExec, fpUserWrite,
Expand Down Expand Up @@ -80,8 +83,9 @@ proc initDirectories(buildDirectory: string, arch: string) =
setFilePermissions(buildDirectory&"/sys", {fpUserExec, fpUserRead,
fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/mnt", {fpUserExec, fpUserWrite, fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/mnt", {fpUserExec, fpUserWrite,
fpUserRead, fpGroupExec, fpGroupRead, fpOthersExec, fpOthersRead})

setFilePermissions(buildDirectory&"/tmp", {fpUserExec, fpUserWrite,
fpUserRead, fpGroupExec, fpGroupWrite, fpGroupRead, fpOthersExec,
fpOthersWrite, fpOthersRead})
Expand Down

0 comments on commit b83eeef

Please sign in to comment.