github.com/lukasheimann/cloudfoundrycli@v7.1.0+incompatible/actor/v7action/fix_mode_windows.go (about)

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