code: func GetModeLinux(pathname string) (os.FileMode, error) {
  	info, err := os.Stat(pathname)
  	if err != nil {
  		return 0, err
  	}
  	return info.Mode(), nil
  }
docs: // GetModeLinux is shared between Linux and NsEnterMounter