github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/actor/v7action/fix_mode_windows.go (about) 1 //go:build windows 2 // +build windows 3 4 package v7action 5 6 import "os" 7 8 // fixMode forces all files on windows to be executable because by default 9 // everything on windows is read/write only. Even executable files. 10 func fixMode(mode os.FileMode) os.FileMode { 11 return mode | 0700 12 }