testing/fstest: cannot test no permission on folder #50787
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes. Not totally sure if it is related to #46776
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
tested.go
tested_test.go
What did you expect to see?
This test should pass, returning "", and error that permission is denied.
What did you see instead?
It can Stat the file, even with no permission to the folder.
The text was updated successfully, but these errors were encountered: