os.Chmod file.Chmod different behavior on Windows #39606
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Didn't try.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
It does not work with
file.Chmod()
.What did you expect to see?
Success.
What did you see instead?
chmod C:\Users\me\prog\proj\file.txt: not supported by windows
It does work with
os.Chmod()
.I am sure there is some technical explanation for this, but from an API perspective it is a bit annoying.
The text was updated successfully, but these errors were encountered: