Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: Create not working on windows network mapped drive #20619

Closed
chrislearn opened this issue Jun 9, 2017 · 4 comments
Closed

os: Create not working on windows network mapped drive #20619

chrislearn opened this issue Jun 9, 2017 · 4 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Milestone

Comments

@chrislearn
Copy link

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.8.3 windows/amd64

What operating system and processor architecture are you using (go env)?

set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=D:\Projects\GO
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
set PKG_CONFIG=pkg-config
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2

What did you do?

I created a network mapped drive in my windows pc, when I use os.Create to create a new file in that drive, it always report this error:

The system cannot find the path specified

What did you expect to see?

os.Create create a new file.

What did you see instead?

The system cannot find the path specified

image
image

@mattn
Copy link
Member

mattn commented Jun 9, 2017

s/os.Create now working/os.Create not working/ ?

@ianlancetaylor
Copy link
Contributor

Are you sure that all the directories exist?

Please show us your code. Thanks.

@ianlancetaylor ianlancetaylor changed the title os.Create now working on windows network mapped drive os: Create not working on windows network mapped drive Jun 9, 2017
@ianlancetaylor ianlancetaylor added this to the Go1.9 milestone Jun 9, 2017
@bradfitz
Copy link
Contributor

bradfitz commented Jun 9, 2017

This was reported against "go version go1.8.3", so it's not a regression from 1.8 -> 1.9. Retargeting to 1.10.

@bradfitz bradfitz modified the milestones: Go1.10, Go1.9 Jun 9, 2017
@bradfitz bradfitz added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided. labels Jun 9, 2017
@chrislearn
Copy link
Author

Sorry, maybe this is my network error, it can not reproduce anymore.

@golang golang locked and limited conversation to collaborators Jun 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows WaitingForInfo Issue is not actionable because of missing required information, which needs to be provided.
Projects
None yet
Development

No branches or pull requests

5 participants