Summary: | NTFS mountpoints appears as hidden after mount | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Michael Heidelbach <ottwolt> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | akontsevich, bugs.kde.org.facelift226, bugseforuns, Dmitry-Kogura, elbin.p, elvis.angelaccio, epost.kde, globalinterpreterlock, infroma, kde, kdebugs, kdelibs-bugs, kdeu, kennethso168, kishore96, nate, ottwolt, summersons96-squareformat, s_chriscollins, wbauer1 |
Priority: | HI | Keywords: | regression |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=399567 | ||
Latest Commit: | https://commits.kde.org/kio/f6df95e595ee3a5322fb70c7dd5860630f82ffdd | Version Fixed In: | 5.50 |
Sentry Crash Report: | |||
Attachments: | screenshot of KFind in browse mode |
Description
Michael Heidelbach
2018-04-09 07:24:33 UTC
Where did you mount the partition to? /etc/fstab: UUID=01CDCE3D6EE37620 /media/Entwicklung ntfs-3g defaults,noauto,users,exec,noatime,user_xattr 0 0 Do you have this change on your system [1]? [1] https://cgit.kde.org/solid.git/commit/?id=122a6cd8989a4bd3096fddea908a1c2b223be62a The bug is: The FILE_ATTRIBUTE_HIDDEN flag is set on the root NTFS folder, e.g. /media/my_ntfs_drive so it won't show up in the directory tree or file view unless hidden files are shown. This looks like an NTFS3g bug (feature) and not much we can do on our side. Cc'ing Roman as the author of the NTFS hidden kio patch. Roman, looks like we'll have to add a special case for NTFS volumes themselves. *** Bug 393400 has been marked as a duplicate of this bug. *** I sent email to the ntfs-3g devs and got the response: https://sourceforge.net/p/ntfs-3g/mailman/ntfs-3g-devel/thread/52565157.yPRXXrU2is%40linux-iy6m/#msg36291190 As I understand they are not going to fix this because they are following Microsoft specification. As for fixing this from the KIO, I don't know a good way how to do this. It's possible to check whether a directory is a mount point via /proc/mounts, but doing this for every file is inefficient. I don't think we need to check every file. The Places Panel knows what the disks are; we can just have it check them, no? *** Bug 393625 has been marked as a duplicate of this bug. *** What about reverting this change until a solution can be found? PCLinuxOS 2018 Qt Version: 5.10.0 KDE Plasma 5.12.x KDE Frameworks Version: 5.45.0 Hi, I wonder if the bug I was about to report before seeing this thread is the same. The partition is mounted at /media/DATA Example I am using (there are others) is KFind. It is not possible to browse to my ntfs partition to search for files. DATA partition shows up on the left of the KFind browser but media on the right does not show any directories or files. Image url for KFind failing in its duty at the end of this report/query. The partition is mounted and can be browsed from Dolphin, files accessible as usual. Other examples are SMplayer; VLC; Single files can be reached from: Open>File>DATA But not from: Open>Directory>media as it shows up as empty. I'm not following the argument about 'Show open Files' in Dolphin. I always have this checked. Different bug? http://mypics.findmoore.net/images/macemm/kfind.jpg Created attachment 112456 [details]
screenshot of KFind in browse mode
I'd forgotten to add the screenshot as an attachment.
Apologies
(In reply to summersons96-squareformat from comment #11) > I'm not following the argument about 'Show open Files' in Dolphin. I always > have this checked. Dolphin's settings only affect dolphin. You'd need to enable "Show hidden files" in the file dialog itself to see the hidden files/folders there. Right-click on the folder list to do that. > Different bug? No, I'd this is indeed the same issue. (In reply to Wolfgang Bauer from comment #13) > Dolphin's settings only affect dolphin. > > You'd need to enable "Show hidden files" in the file dialog itself to see > the hidden files/folders there. Right-click on the folder list to do that. > > > Different bug? > No, I'd this is indeed the same issue. Hello and thanks for the clarification concerning hidden folders in the file dialogue. *** Bug 394173 has been marked as a duplicate of this bug. *** Ask ntfs-3g to include a mount option that breaks the specification. *** Bug 394650 has been marked as a duplicate of this bug. *** How about we use KMountPoints to just ignore the NTFS hidden flag for the root volume. I like the NTFS 3g mount option better but then we don't control the stack so we cannot really enforce using this. *** Bug 395947 has been marked as a duplicate of this bug. *** Anyone affected, please test patch [1]. There's some quirks with it, but works mostly fine. I lack the NTFS heavy usecase for being able to properly test it, other than "yes, the root thing shows up now" [1] https://phabricator.kde.org/D13782 *** Bug 395936 has been marked as a duplicate of this bug. *** Git commit f6df95e595ee3a5322fb70c7dd5860630f82ffdd by Kai Uwe Broulik. Committed on 09/08/2018 at 07:46. Pushed by broulik into branch 'master'. Ignore NTFS hidden flag for root volume Those are always hidden as far as NTFS is concerned but leads to unwanted side-effects of NTFS volumes becoming inaccessible in the UI Differential Revision: https://phabricator.kde.org/D13782 M +14 -1 src/ioslaves/file/file_unix.cpp https://commits.kde.org/kio/f6df95e595ee3a5322fb70c7dd5860630f82ffdd BTW, same thing for USB mount points in KDE save/open dialogs - they are hidden (visible in Dolphin). (In reply to Aleksey Kontsevich from comment #23) > BTW, same thing for USB mount points in KDE save/open dialogs - they are > hidden (visible in Dolphin). Are you talking about NTFS disks? What version of KIO/KDE Frameworks are you using? The fix is in 5.50. (In reply to Nate Graham from comment #24) > (In reply to Aleksey Kontsevich from comment #23) > > BTW, same thing for USB mount points in KDE save/open dialogs - they are > > hidden (visible in Dolphin). > > Are you talking about NTFS disks? Any - fat32 (vfat). >What version of KIO/KDE Frameworks are you using? The fix is in 5.50. latest - 5.50, plasma 5.13.5 (In reply to Aleksey Kontsevich from comment #25) > (In reply to Nate Graham from comment #24) > > (In reply to Aleksey Kontsevich from comment #23) > > > BTW, same thing for USB mount points in KDE save/open dialogs - they are > > > hidden (visible in Dolphin). > > > > Are you talking about NTFS disks? > Any - fat32 (vfat). That's a different issue, then. This bug was only about NTFS disks. Please file a new bug. *** Bug 400467 has been marked as a duplicate of this bug. *** I'm on 18.10, which as I understand it has Frameworks 5.50 and thus includes the fix, but I'm having the same (or a similar) issue: NTFS volumes mounted via fstab as: UUID=123456789 /mydrive ntfs defaults,umask=007,gid=46 0 0 ...are visible if I navigate to / in dolphin, but symlinks to the mounted directory are not. E.g. ln -s /mydrive /tmp/mydrive ...and then navigate in dolphin to /tmp and "mydrive" is invisible unless hidden files are shown. Same issue? I note that "mydrive" is in my dolphin "places" list. Dolphin v18.04.3 ntfs-3g 2017.3.23 integrated FUSE 28 Linux hostname 4.18.0-11-generic #12-Ubuntu SMP Tue Oct 23 19:22:37 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Thanks! Perhaps I should file a new bug for comment #28? Yes please! (In reply to kdebugs from comment #29) > Perhaps I should file a new bug for comment #28? @kdebugs: Did you create a new report? If so, could you point me to it. If not, should I create one? I'm experiencing what seems to be the same issue on two separate computers with KDE Frameworks versions above 5.50: Computer 1: Vanilla Arch Linux with Dolphin 18.12.1 with KDE Frameworks 5.54.0 Computer 2: Manjaro with Dolphin 18.12.1 with KDE Frameworks 5.53.0 On both computers, I have NTFS volumes mounted via fstab with default options. Example: UUID=0123456789ABCD /mnt/windows ntfs defaults 0 0 If I then have a symlink under home that points to this directory: windows -> /mnt/windows The symlink only shows in Dolphin if I turn on "Hidden Files" (Alt+.). It makes no difference if the links are made via Dolphin, from the command line etc (and I refreshed multiple times to be sure the links were in Dolphin's view of the FS). This seems to be the same bug, but it's still present in KF > 5.53.0. Should I open a new report with this info? LMK if you need more information or want me to try anything. Thanks! I did report a new bug: https://bugs.kde.org/show_bug.cgi?id=402738 (sorry, though I updated here already) *thought (In reply to kdebugs from comment #32) > I did report a new bug: https://bugs.kde.org/show_bug.cgi?id=402738 > > (sorry, thought I updated here already) No worries, I'll add my comment to that issue. Thanks! |