fix(clustertool): dont use 777 for docs generation

This commit is contained in:
Kjeld Schouten
2024-10-25 22:08:05 +02:00
parent 1fa26e6123
commit fd5da655b6
+1 -1
View File
@@ -123,7 +123,7 @@ func writeToFile(path string, content []byte, file os.DirEntry) error {
}
// Set file permissions to 777
if err := os.Chmod(path, 0777); err != nil {
if err := os.Chmod(path, 0666); err != nil {
return fmt.Errorf("setting permissions for path %s: %w", path, err)
}