Red Hat Bugzilla – Bug 849332
readdir syscall returns invalid results for junction points (symbolic links)
Last modified: 2012-09-17 19:43:10 EDT
Created attachment 605323 [details]
Proposed patch (created by upstream)
While investigating an issue with baobab (gnome disk usage tool, bug 811399) I found out that ntfs-3g returns an invalid result when a junction point (symbolic link) is detected. Whenever a junction point is detected, the readdir syscall thinks that the file in question is a directory while it actually is a symbolic link.
I filed this issue upstream along with a testcase and they provided a fix for this issue. I tested this patch on my Fedora 17 x86_64 environment and it indeed does resolve the baobab issue.
Could you please apply this patch in the ntfs-3g package for now?
For more details, see:
Erik, the patch you attached is seriously malformed (how did you manage that?), but I found the correct patch from the tuxera link. Update is coming, thanks.
ntfs-3g-2012.1.15-3.fc17 has been submitted as an update for Fedora 17.
ntfs-3g-2012.1.15-3.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ntfs-3g-2012.1.15-3.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
(In reply to comment #1)
> Erik, the patch you attached is seriously malformed (how did you manage
> that?), but I found the correct patch from the tuxera link. Update is
> coming, thanks.
I don't know what went wrong, but when I perform 'wget https://bugzilla.redhat.com/attachment.cgi?id=605323' it returns a proper patch here. Anyway, you managed to get the patch from upstream so everything is good now.
Thanks for the quick update!
Sorry for the reassign noise. Some firefox extension messed up the bugzilla form..
ntfs-3g-2012.1.15-3.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
ntfs-3g-2012.1.15-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.