Ark hangs when file/directory name on NTFS contains a colon

Bug #242426 reported by luba
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Confirmed
Wishlist
Unassigned
kdeutils (Ubuntu)
Fix Released
Low
Unassigned
ntfs-3g (Ubuntu)
Invalid
Low
Unassigned

Bug Description

What I did:
- I installed Kubuntu 8.04 (I always update when Adept_updater suggests it) in parallel with WinXPSP2, which is installed on NTFS partitions.
- I used Firefox to save some webpages directly on a NTFS partition. These webpages had colons (":") in their title so FF used that as file/directory names. I justed clicked on "save".
- I right-clicked the directory where I saved all these files an chose compress to ZIP.
- The Ark status windows comes. It seems like it is proceeding (the rectangle in the bar goes from the left to the right and back all the time) but the hard-drive doesn't do anything.

In Windows, 7zip says that it can't open that directories. However, I can see them in the Windows Explorer but I can't rename them there. I have to do that in Kubuntu. When I have removed the colons there by renaming, everything works as it should.

As far as I know, NTFS internally uses a colon to seperate the (hidden) ADS part from the rest of the filename.

I know that Linux and MS are completely different worlds, but in my opionion as user:
- NTFS-3G shouldn't allow colons in filenames.
- Applications like Firefox shouldn't suggest names with colons (or should have at least an option in the settings to change that)
- Ark should abort trying to open these files and notify me.

Tags: ads ark colon ntfs
Changed in kdeutils:
importance: Undecided → Wishlist
Changed in firefox-3.0:
importance: Undecided → Low
Changed in kdeutils:
importance: Wishlist → Low
Changed in ntfs-3g:
importance: Undecided → Low
Revision history for this message
Szabolcs Szakacsits (szaka) wrote :

http://ntfs-3g.org/support.html#posixfilenames2

Why does the driver allow special characters in the filenames?
    NTFS supports several filename namespaces at the same time: DOS, Win32 and POSIX. While the NTFS-3G driver handles all of them, it always creates new files in the POSIX namespace for maximum portability and interoperability reasons. This means that filenames are case sensitive and all characters are allowed except '/' and '\0'. This is perfectly legal on Windows, though some application may get confused. If you find so then please report it to the developer of the relevant Windows software.

    Workaround: If case insensitivity handling and/or restriction of special character usage is desirable then you may export the NTFS volume via Samba which supports this functionality the same way as it does for other POSIX file systems.

    Status: Not NTFS-3G problem.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Invalidating the ntfs-3g task as per the previous comment.
I've also tested compressing stuff with colons in their name with Ark in Jaunty, and everything worked fine. :)

Changed in ntfs-3g:
status: New → Invalid
Changed in kdeutils:
status: New → Fix Released
Changed in firefox-3.0:
importance: Low → Wishlist
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I should note that the testing was done on an ntfs partition.

Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Marking this bug as confirmed because it happens to multiple users.

affects: firefox-3.0 (Ubuntu) → firefox (Ubuntu)
Changed in firefox (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.