apply eexist workaround from listDir to stat as well

Authored by sitter on Oct 17 2018, 2:15 PM.

Description

apply eexist workaround from listDir to stat as well

Summary:
knetattach stats() without first doing a listDir() so in the event that
the url requires authentication it won't work and error out on the EEXISTS.
listDir has a fallback hack for this which was missing from stat.

stat now has this workaround as well and correctly brings up an auth
dialog on shares that require it.

BUG: 399699

Test Plan:

  • knetattach
  • smb
  • data for host (folder should require auth)
  • save and connect
  • auth dialog comes up
  • enter details
  • ok
  • works

Reviewers: broulik

Reviewed By: broulik

Subscribers: kde-frameworks-devel, kfm-devel

Tags: Dolphin, Frameworks

Differential Revision: https://phabricator.kde.org/D16272

Details

Committed
sitterOct 17 2018, 2:30 PM
Reviewer
broulik
Differential Revision
D16272: apply eexist workaround from listDir to stat as well
Parents
R320:a255d3d9f7f1: Merge branch 'Applications/18.08'
Branches
Unknown
Tags
Unknown