D13805: Present error dialog when user tries to create directory named "." or ".."

David Faure noreply at phabricator.kde.org
Sun Jul 1 20:04:14 BST 2018


dfaure added a comment.


  Well, it makes sense for this check to be at the GUI level, the user interaction can be better adapted then, as in this patch.
  
  KIO::mkpath("/home/dfaure/tmp/.") should at least not warn or error in any way IMHO.
  
  (btw mkdir of such a path, on the command line, always fails: either the tmp dir exists and it says "already exists", or it doesn't exist and it can't create the parent dir first)

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D13805

To: tmarshall, #dolphin, #frameworks, ngraham, dfaure
Cc: cfeck, elvisangelaccio, dfaure, tmarshall, bruns, ngraham, kde-frameworks-devel, michaelh, spoorun, navarromorales, isidorov, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180701/d898121e/attachment.htm>


More information about the kfm-devel mailing list