Skip to content

Commit

Permalink
fix: change permission to 0777
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Jan 6, 2024
1 parent 2ea3b7a commit 857a906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func writeFilelistScript(module FsGuardModule, recipe *api.Recipe) error {
done`
prepCommands = append(prepCommands, "mkdir /FsGuard")
prepCommands = append(prepCommands, fmt.Sprintf("chmod +x /sources/%s/gen_filelist", module.Name))
os.MkdirAll(recipe.SourcesPath+"/"+module.Name, 0666)
err := os.WriteFile(recipe.SourcesPath+"/"+module.Name+"/gen_filelist", []byte(script), 0666)
os.MkdirAll(recipe.SourcesPath+"/"+module.Name, 0777)
err := os.WriteFile(recipe.SourcesPath+"/"+module.Name+"/gen_filelist", []byte(script), 0777)
return err
}

Expand Down

0 comments on commit 857a906

Please sign in to comment.