alphaleonis / AlphaFS

AlphaFS is a .NET library providing more complete Win32 file system functionality to the .NET platform than the standard System.IO classes.
http://alphafs.alphaleonis.com/
MIT License
562 stars 99 forks source link

Method File.SetFsoDateTimeCore throws UnauthorizedAccessException on readonly/hidden file. #475

Closed Yomodo closed 6 years ago

Yomodo commented 6 years ago

When changing the different file/folder times, an UnauthorizedAccessException is thrown when the process is non-elevated and the file/folder is read-only or hidden.

Yomodo commented 6 years ago

Not an AlphaFS bug; used code was at fault.