code.cloudfoundry.org/cli@v7.1.0+incompatible/actor/v2action/fix_mode_windows.go (about)

     1  // +build windows
     2  
     3  package v2action
     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  }