I'm trying to create a directory in Go with very specific permissions.
I need drwxrwxr-x
but I don't know how to do it with os.Mkdir().
I've tried os.ModeDir, os.ModePerm and os.ModeSticky
I'm on linux and I do not care if the solution will work in windows. it can, but it doesn't have to.
My issue is that I'm trying to create a directory that is later used within the program itself (the program creates the directory and it uses it to write files to).