Bug 59464 - System.IO.IOException "Invalid parameter" on File.SetLastWriteTime when using DNS Service Discovery (dns-sd)
Summary: System.IO.IOException "Invalid parameter" on File.SetLastWriteTime when using...
Status: NEW
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer (show other bugs)
Version: unspecified
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
: 59466 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-09-13 18:35 UTC by Ken Kosmowski
Modified: 2017-10-17 22:06 UTC (History)
3 users (show)

See Also:
Tags:
Is this bug a regression?: Yes
Last known good build:


Attachments

Description Ken Kosmowski 2017-09-13 18:35:59 UTC
Hi.

There is a problem with File.SetLastWriteTime when using it on mounted volume which uses DNS Service Discovery (dns-sd).

I mounted a share with the following path to "/Volumes/C":
//guest:@127.0.0.1:51400/%5BC%5D%20Windows%2010
Everything is fine and I can call File.SetLastWriteTime on this path and it works like expected.

Mounting the same share with a dns-sd path results in a System.IO.IOException "Invalid parameter".
The path is:
//GUEST:@Windows%2010._smb._tcp.local/%5BC%5D%20Windows%2010

As you can see, the only difference between these paths is the dns-sd part "._smb._tcp.local".

Git repo: https://github.com/kenkosmowski/Mono-SetLastWriteTime
Comment 1 Ken Kosmowski 2017-09-13 18:38:13 UTC
Version information:

Visual Studio Community 2017 for Mac
Version 7.1.3 (build 1)
Installation UUID: 58873ca7-1a81-458a-bb7e-92a319a7fcfd
Runtime:
	Mono 5.2.0.224 (d15-3/14f2c81) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000224
Comment 2 Jeffrey Stedfast 2017-09-19 15:13:42 UTC
*** Bug 59466 has been marked as a duplicate of this bug. ***
Comment 3 Ken Kosmowski 2017-10-17 22:06:37 UTC
Any progress here?

Note You need to log in before you can comment on or make changes to this bug.