Summary: | several times is not possible the access data for libsmbclient | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Giuseppe Della Bianca <giusdbg> |
Component: | smb | Assignee: | Unassigned bugs <unassigned-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Patch
Improvement of the previous patch |
Description
Giuseppe Della Bianca
2009-08-15 19:26:11 UTC
Created attachment 36178 [details]
Patch
Comment on attachment 36178 [details]
Patch
I am sorry, for wrong title, and for partial wrong patch.
Please, don't apply this section of the patch:
diff -Naur smb_orig/kio_smb_browse.cpp smb/kio_smb_browse.cpp
--- smb_orig/kio_smb_browse.cpp 2009-08-15 15:29:56.466036172 +0200
+++ smb/kio_smb_browse.cpp 2009-08-15 16:00:17.691147077 +0200
@@ -152,7 +152,8 @@
break;
case SMBURLTYPE_SHARE_OR_PATH:
- if (browse_stat_path(m_current_url, udsentry, false))
+// the request the access data for libsmbclient is useless, and is a duplicate that one in listDir
+ if (browse_stat_path(m_current_url, udsentry, true))
break;
else {
kDebug(KIO_SMB) << "SMBSlave::stat ERROR!!";
Created attachment 36230 [details]
Improvement of the previous patch
This patch is a large improvement of the previous patch and replace it completely.
Not a perfect workaround, but I think that do not we can do better (should rewrite kio / kioslave).
Apply patch:
cp access_denied_patch.diff KDE/kdebase/rumtime/kioslave
cd KDE/kdebase/rumtime/kioslave
patch -p0 < access_denied_patch.diff
|