Bug 193918

Summary: NFS kioslave has problem with exported folders and nonASCII characters on nfs4 share
Product: [Frameworks and Libraries] kio Reporter: Ctibor Brančík <ctibor.brancik>
Component: kioslaveAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: esigra, mr, skyphyr
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Bad slashes.

Description Ctibor Brančík 2009-05-24 17:56:40 UTC
Version:            (using KDE 4.2.3)
Compiler:          gcc-4.1.2 standard gentoo
OS:                Linux
Installed from:    Gentoo Packages

I have set up NFSv4 share on my home server. I can mount it and browse the mountpoint with doplhin, krusader or konqueror without any problem.

There are issues when I try to use nfs kioslave. Firstly my /etc/exports looks like this:

/home *.brancik.homelinux.net(rw,fsid=0,insecure,no_subtree_check,async)
/home/ctibor/portage *.brancik.homelinux.net(rw,insecure,no_subtree_check,async,nohide,no_root_squash)
/home 10.88.254.0/255.255.255.240(rw,fsid=0,insecure,no_subtree_check,sync)
/home/ctibor/portage 10.88.254.0/255.255.255.240(rw,insecure,no_subtree_check,async,nohide,no_root_squash)

Note: The portage dir is bind mounted from /usr/portage which resides on another partition and filesystem.

First problem:

When i type nfs://servername I get two folders listed:

home
home/ctibor/portage - slashes on this line are weird, not the standard ones, they lean to the right

Clicking on the latter leads to the warning saying the folder do not exist, with some weird chars replacing the slashes.

Second problem:

First folder works ok, until I want to open folder which contains file or directory with nonASCII character(s) in it's name. Then it again displays the dialog warning and refreshes current view.
Comment 1 Martin Samek 2009-08-11 16:40:49 UTC
I can confirmed this bug at KDE 4.3. I have noticed same problem but with nfs 3.
Slashes in path are also weird - falling to the right. I post screenshot in attachement.

In address bar than paths looks like this one:
nfs://192.168.1.1/mnt%E2%81%84data%E2%81%84music/
Comment 2 Martin Samek 2009-08-11 16:41:42 UTC
Created attachment 36075 [details]
Bad slashes.
Comment 3 Martin Samek 2009-08-11 16:43:27 UTC
I think it could be a locale think, because I use Czech locale and reporter of the bug may be to.
Comment 4 Ctibor Brančík 2009-08-13 17:42:26 UTC
Yes. I forgot to add the information. It is true. I use czech locale.
Comment 5 Martin Samek 2009-09-05 23:12:44 UTC
This bug still remains in KDE 4.3.1. Any chance for fix?
Comment 6 Martin Samek 2009-10-07 15:46:05 UTC
Bug remains in KDE 4.3.2.
Comment 7 Martin Samek 2009-11-04 00:44:03 UTC
Bug remains in KDE 4.3.3
Comment 8 Alan Jones 2009-11-12 19:56:51 UTC
Suffering the same issue - any shares with a / in them can't be mounted. i.e. nfs://machine/storage/share

and it'll fail - the export is /storage/share on the server. Locale is Australia - going to try with US.

This is in 4.3.2 on Mandriva 2010.

Cheers,

Alan.
Comment 9 Alan Jones 2009-11-12 19:58:54 UTC
Actually - this is a dupe of BUG 184997

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