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)

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

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 59464 on GitHub or Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: GitHub Markdown or Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
NEW

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?