From 857a906379eadc3a4b6d2e5387a7a1ae8a4a484e Mon Sep 17 00:00:00 2001 From: axtloss Date: Sat, 6 Jan 2024 16:43:03 +0100 Subject: [PATCH] fix: change permission to 0777 --- plugin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin.go b/plugin.go index 3df5c66..3d21578 100644 --- a/plugin.go +++ b/plugin.go @@ -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 }