title: Golang exec command chmod returning error
body: <p>Familiarizing myself with Golang here and i am trying to execute shell commands, i need to chmod for any .pem file so i decided to use the wildcard *</p>
  <pre><code>func main() {
  
      cmd := exec.Command( &quot;chmod&quot;, &quot;400&quot;, &quot;*.pem&quot; )
  
      cmd.Stdout = os.Stdout
      cmd.Stderr = os.Stdout
  
      if err := cmd.Run(); err != nil {
          fmt.Println( &quot;Error:&quot;, err )
      }
  </code></pre>
  <p>I keep get this error while executing:</p>
  <pre><code>chmod: cannot access '*.pem': No such file or directory
  Error: exit status 1
  </code></pre>