Ticket #4145 (accepted defect)

Opened 10 days ago

Last modified 7 days ago

Filenames longer than 255 bytes are not supported

Reported by: birdie Owned by: andrew_b
Priority: major Milestone: 4.8.26
Component: mc-vfs Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: on review Votes for changeset:

Description

Steps to reproduce (an NTFS filesystem is required):

cd /mnt/ntfs
name="和総坂裁精座回資国定裁出観産大掲記労。基利婚岡第員連聞余枚転屋内分。妹販得野取戦名力共重懲好海。要中心和権瓦教雪外間代円題気変知。貴金長情質思毎標豊装欺期権自馬。訓発宮汚祈子報議広組歴職囲世階沙飲。賞携映麻署来掲給見囲優治落取池塚賀残除捜。三売師定短部北自景訴層海全子相表。著漫寺対表前始稿殺法際込五新店広。"
echo 123 > "$name"

MC won't be able to list this file (shows with ? at the beginning and size as 0), view, edit, copy, rename or delete it.

This is a bug.

Change History

comment:1 Changed 10 days ago by andrew_b

  • Milestone changed from 4.8.26 to Future Releases

comment:2 Changed 10 days ago by andrew_b

comment:3 Changed 10 days ago by birdie

Now that NTFS is about to become a first class citizen in Linux thanks to Paragon this bug is more relevant than ever.

The maximum filename length in NTFS is 255 UTF-16 characters, i.e. 510 bytes (or maybe 511, considering the terminating NULL - I'm not sure about that).

comment:4 Changed 10 days ago by birdie

  • Summary changed from Filenames longer than 255 bytes are not support to Filenames longer than 255 bytes are not supported

comment:5 Changed 7 days ago by andrew_b

  • Status changed from new to accepted
  • Owner set to andrew_b
  • Component changed from mc-core to mc-vfs
  • Branch state changed from no branch to on review
  • Milestone changed from Future Releases to 4.8.26

Branch: 4145_long_file_names
Initial changeset:6a4daaf7b3522fcebe99efd8f1f5fa771b5566a7

Note: See TracTickets for help on using tickets.