D13782: RFC: Ignore NTFS hidden flag for root volume

Wolfgang Bauer noreply at phabricator.kde.org
Wed Jul 25 11:03:32 BST 2018


wbauer added a comment.


  In D13782#297547 <https://phabricator.kde.org/D13782#297547>, @wbauer wrote:
  
  > With additional debug output I do see the '.' entry in the root dir still marked as hidden (as mentioned in the test plan), and also the '..' entry in (first-level) subdirs is hidden.
  
  
  I also found another problem though: symlinks to the mountpoint/NTFS root dir are (still) hidden as well (also if they are on different partitions).
  
  Using QDir::canonicalPath() (instead of QDir::cleanPath() ) would fix all 3 cases:
  
    const QString fullFilePath = QDir(path + QLatin1Char('/') + filename).canonicalPath();
  
  (that one isn't static...)

REPOSITORY
  R241 KIO

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

To: broulik, dfaure, yurikoles, bruns
Cc: ngraham, oysteins, wbauer, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180725/6b6ad719/attachment.html>


More information about the Kde-frameworks-devel mailing list