> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Permissions

<AccordionGroup>
  <Accordion title="incorrect-default-permission">
    Detected file permissions that are set to more than `0600` (user/owner can read and write). Setting file permissions to higher than `0600` is most likely unnecessary and violates the principle of least privilege. Instead, set permissions to be `0600` or less for os.Chmod, os.Mkdir, os.OpenFile, os.MkdirAll, and ioutil.WriteFile<br />**CWE**: <br />- C
    <br />- W
    <br />- E
    <br />- -
    <br />- 2
    <br />- 7
    <br />- 6
    <br />- :
    <br />-\
    <br />- I
    <br />- n
    <br />- c
    <br />- o
    <br />- r
    <br />- r
    <br />- e
    <br />- c
    <br />- t
    <br />-\
    <br />- D
    <br />- e
    <br />- f
    <br />- a
    <br />- u
    <br />- l
    <br />- t
    <br />-\
    <br />- P
    <br />- e
    <br />- r
    <br />- m
    <br />- i
    <br />- s
    <br />- s
    <br />- i
    <br />- o
    <br />- n
    <br />- s
  </Accordion>
</AccordionGroup>
