Finder can't access automounted NFS shares

Originator:niclas.siberg
Number:rdar://35025731 Date Originated:2017-10-17
Status: Resolved:
Product:macOS Product Version:10.13/17A405
Classification:Serious Bug Reproducible:Always
 
Summary:
If we configure an NFS share to automount on a 10.13-client the Finder can't access files on it. Manually mounting the NFS share works.

Steps to Reproduce:
* Share a volume with r/w access over NFS.
* Mount it over NFS on a test machine to verify that access works.
* Browse to it using the Finder and create a new folder.
* Unmount it.
* Create an automount map for the same share:
bash-3.2$ cat /etc/auto_master 
#
# Automounter master map
#
+auto_master		# Use directory service
/net			-hosts		-nobrowse,hidefromfinder,nosuid
/home			auto_home	-nobrowse,hidefromfinder
/Network/Servers	-fstab
/-			-static
/-	auto_maclab	-nobrowse,nosuid

bash-3.2$ cat /etc/auto_maclab 
/Labusers	-fstype=nfs,hard,bg,intr,rw,nfc,locallocks	shared.example.com:/vol/maclabb/flov/home

* Reboot.
* Try to browse the same share after it has been automounted.

Expected Results:
File access from the Finder should work as usual.

Actual Results:
* The Finder doesn't show the mount.
* Using Go to Folder… you can navigate to the mount, but no content is shown.
* The share can be access from Terminal, but `open /path/to/mount` results in an error message: "LSOpenURLsWithRole() failed with error 5 for the file /path/to/mount."

Version/Build:
10.13/17A405

Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!