← Back to team overview

kernel-packages team mailing list archive

[Bug 1289112] Re: UDF filesystem on USB stick is corrupted when creating file or directory with certain name

 

Tested with latest mainline kernel, 3.14-rc7-trusty, bug still exists.

** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1289112

Title:
  UDF filesystem on USB stick is corrupted when creating file or
  directory with certain name

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 13.10 amd64

  I wiped a 32GB USB stick and created a UDF filesystem on it (as per
  instructions at http://duncanlock.net/blog/2013/05/13/using-udf-as-an-
  improved-filesystem-for-usb-flash-drives/ )

  reading and writing works fine, until I try to create a directory or
  file (using any method) with the exact name "Сергей Васильевич
  Рахманинов - Piano Concertos Nos. 2 & 4 (Concertgebouw Orchestra feat.
  piano: Vladimir Ashkenazy, conductor: Bernard Haitink)"

  after attempting to create this file or directory, it appears to
  succeed, but the name is truncated to "Сергей Васильев" and the
  directory containing it on the UDF filesystem becomes unwritable and
  undeletable, although it can still be read.

  Initially came across this bug by copying a directory with this name
  using nautilus, but also reproduced the problem with cp -r, mkdir and
  touch.

  Various parts of the name worked fine: "Сергей Васильевич Рахманинов"
  seems fine as a filename, as is "Piano Concertos Nos. 2 & 4
  (Concertgebouw Orchestra feat. piano: Vladimir Ashkenazy, conductor:
  Bernard Haitink)". A much longer directory name also worked fine. So
  I'm stumped as to what the problem is.

  The filesystem was created with the command:
  mkudffs -b 512 --media-type=hd --utf8 /dev/sdc
  and otherwise seems to work fine.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: linux-image-3.11.0-17-generic 3.11.0-17.31
  ProcVersionSignature: Ubuntu 3.11.0-17.31-generic 3.11.10.3
  Uname: Linux 3.11.0-17-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  tommy      1965 F.... pulseaudio
   /dev/snd/controlC0:  tommy      1965 F.... pulseaudio
  Date: Fri Mar  7 16:23:50 2014
  HibernationDevice: RESUME=UUID=fc98e994-afc1-42e5-a89c-2a531b28982f
  InstallationDate: Installed on 2013-06-23 (256 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MachineType: Gigabyte Technology Co., Ltd. G33M-DS2R
  MarkForUpload: True
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-17-generic root=/dev/mapper/ubuntu-root ro quiet splash
  RelatedPackageVersions:
   linux-restricted-modules-3.11.0-17-generic N/A
   linux-backports-modules-3.11.0-17-generic  N/A
   linux-firmware                             1.116.2
  RfKill:
   0: phy0: Wireless LAN
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: linux
  UpgradeStatus: Upgraded to saucy on 2013-10-27 (130 days ago)
  dmi.bios.date: 06/11/2007
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: F3
  dmi.board.name: G33M-DS2R
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.board.version: x.x
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF3:bd06/11/2007:svnGigabyteTechnologyCo.,Ltd.:pnG33M-DS2R:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnG33M-DS2R:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: G33M-DS2R
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1289112/+subscriptions


References