github.com/mook-as/cf-cli@v7.0.0-beta.28.0.20200120190804-b91c115fae48+incompatible/actor/sharedaction/fix_mode_windows.go (about) 1 // +build windows 2 3 package sharedaction 4 5 import "os" 6 7 // fixMode forces all files on windows to be executable because by default 8 // everything on windows is read/write only. Even executable files. 9 func fixMode(mode os.FileMode) os.FileMode { 10 return mode | 0700 11 }