Bug 348712

Summary: Browsing smb shares in konqueror slow as user
Product: [openSUSE] openSUSE 10.3 Reporter: Machiel van Veen <m.vanveen>
Component: KDEAssignee: E-mail List <kde-maintainers>
Status: RESOLVED WORKSFORME QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: jfrantzius
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.3   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: strace konqueror

Description Machiel van Veen 2007-12-14 12:25:28 UTC
Browing smb shares is extremely slow when using konqueror as a normal user. Root can browse smb shares at normal speeds.

A strace when running konq as a user shows it to be stuck on attempting to write to a file.

writev(3, [{"#\1\2\0\0\0\0\0", 8}], 1)  = 8

A strace when running konq as root does not show this problem.

The file indicated is the file /usr/lib/locale/en_US.utf8/LC_CTYPE. By altering the permissions of the file (664 root:users) the normal user can browse smb shares in a normal manner.
Comment 1 Machiel van Veen 2007-12-14 15:10:02 UTC
I jumped to some conclusions, the behavior of konqueror with smb is eratic. Leading me to believe root had no problem and there was a permission issue. I tested multiple times again and found there are only problems when trying to open a direct path. Using just the server address and clicking to the destination seems to pose no problems.

I'm not sure what is going on since it sometimes kind of works and other times doesn't work. I will attach a strace of a time it did not work and browsing was extremely slow. 
Comment 2 Machiel van Veen 2007-12-14 15:12:34 UTC
Created attachment 187657 [details]
strace konqueror
Comment 3 Lubos Lunak 2009-05-14 15:04:42 UTC
Works fine on openSUSE11.1 with KDE4, assuming fixed.