[kio] [Bug 341263] New: Unhardcode smbd executable lookup ini samba KIO slave

Ivailo Monev xakepa10 at gmail.com
Tue Nov 25 18:01:11 GMT 2014


https://bugs.kde.org/show_bug.cgi?id=341263

            Bug ID: 341263
           Summary: Unhardcode smbd executable lookup ini samba KIO slave
           Product: kio
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: smb
          Assignee: unassigned-bugs at kde.org
          Reporter: xakepa10 at gmail.com

In the KIO slave KSambaSharePrivate::isSambaInstalled() looks only for
/usr/sbin/smbd and /usr/local/sbin/smbd, this is not the best thing to do. It
may be sufficient for most distributions but it will most likely not fit all
and I suggest the use of KStandardDirs::findExe(). If nothing else, at least
make sure that the current check does check if the paths are also executable
and not only existing (the current check is just QFile::exists()).

Cheers!

Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list