What version of Go are you using (go version)?
go version go1.10.2 windows/amd64
also reproduces on go version go1.8.7 windows/386
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
set GOARCH=amd64
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
What did you do?
I try to make a write access to an hidden text file on windows 10.
I made separate project to reproduce the issue here : https://github.com/FabienTregan/TestWritingToHiddenFilesInGo (with a bit more informations in the readme.md file)
What did you expect to see?
Some text written in the file
What did you see instead?
Received unexpected error:
open C:\Users[USER NAME]\AppData\Local\Temp\write_to_hidden_file_test_204946587: Access is denied.
What version of Go are you using (
go version)?go version go1.10.2 windows/amd64
also reproduces on go version go1.8.7 windows/386
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env)?set GOARCH=amd64
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
What did you do?
I try to make a write access to an hidden text file on windows 10.
I made separate project to reproduce the issue here : https://github.com/FabienTregan/TestWritingToHiddenFilesInGo (with a bit more informations in the readme.md file)
What did you expect to see?
Some text written in the file
What did you see instead?
Received unexpected error:
open C:\Users[USER NAME]\AppData\Local\Temp\write_to_hidden_file_test_204946587: Access is denied.