This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
|Summary:||NB 8.1: Directory Chooser does not "see" samba shares|
|Component:||Filesystems||Assignee:||Jaroslav Havlin <jhavlin>|
|OS:||Windows 7 x64|
|Issue Type:||DEFECT||Exception Reporter:|
|Attachments:||Evidence of Open Project not detecting SMB shares.|
Description markhodges 2015-11-15 21:47:20 UTC
Created attachment 157343 [details] Evidence of Open Project not detecting SMB shares. Netbeans 8.1 running on Windows 7 64-bit does not detect SMB shared directories on Fedora Linux machine. Windows detects SMB shares. To reproduce: Launch the Directory Chooser via File->Open Project. Navigate to SMB share (Click Network, double click network computer name, "WEBSERVER", in my example screenshot. Shared folders that Windows 7 detects are not detected by Netbeans. Please see the attached screenshot. Entering "\\WEBSERVER" into File name field has no effect. Version Information: Netbeans: Product Version: NetBeans IDE 8.1 (Build 201510222201) Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23 Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) User directory: C:\Users\Administrator\AppData\Roaming\NetBeans\8.1 Cache directory: C:\Users\Administrator\AppData\Local\NetBeans\Cache\8.1 Fedora Linux: "Fedora release 23 (Twenty Three)" SMB: "Samba version 4.3.0"
Comment 1 Ondrej Vrabec 2015-11-17 19:43:19 UTC
Can you just map the smb shared folder to a windows drive? E.g. map the share to Y:\? Does it work then?
Comment 2 Ondrej Vrabec 2015-11-18 07:10:14 UTC
From an e-mail: I mapped a drive. Windows sees the drive just fine. The mapped drive does not show up the directory chooser at all either. All the smb shares and the mapped drive work fine outside of Netbeans. I discovered something else. To work around the "Failed to create process Access is denied. (5)" bug, I "Run as Administrator" while launching Netbeans from my standard user account. I think this may be contributing to the behavior. If I log into Windows using the Administrator account, Netbeans starts fine and all the smb shares are visible and work as expected.
Comment 3 Ondrej Vrabec 2015-11-20 15:51:46 UTC
Can you see the samba share in the simple Open File... dialog? Or is it the case only inside Open Project dialog? I think it's an internal problem in Java not related to the actual NB code. Please can you also attach the IDE log (View -> IDE log) after you open the dialog and navigate to the empty samba share?
Comment 4 Ondrej Vrabec 2015-11-20 15:57:17 UTC
BTW, why do you start NB as Admin? You should not need to do that.