Bug 330862

Summary: Can browse to, but not open, files on UNC paths
Product: [Applications] kate Reporter: Will Keaney <keaneyw>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Will Keaney 2014-02-06 19:34:11 UTC
Kate version 4.10.2, mingw64 build on Windows 7 x64.
Opening files on CIFS shares in an Active Directory environment.

I'm able to open the files if I first map the share to a local drive letter, and open them from that path instead of the direct UNC path.

Reproducible: Always

Steps to Reproduce:
1. Launch Kate
2. Click 'Open File', or any other method to get the file open dialogue
3. Browse to a file on a remote path (\\<server>\path\to\file)

Actual Results:  
Kate browses to the file's location successfully, but throws this error when trying to open the file:

The file /<server>/<share>/<directory>/<directory>/<file> could not 
be loaded, as it was not possible to read from it.
Check if you have read access to this file.

Expected Results:  
Kate should open the file.
Comment 1 Christoph Cullmann 2016-09-07 18:44:29 UTC
=> Please try with current https://kate-editor.org/get-it/ versions. If that still happens, this needs to reported to KIO, as we just use the generic KIO stuff from KParts.

*** This bug has been marked as a duplicate of bug 328728 ***