← Back to team overview

kernel-packages team mailing list archive

[Bug 680174] Re: open() system call incorrect in hfsplus

 

Dan Smith, please reopen if you can reproduce this problem is a
supported release.

** Tags added: maverick needs-kernel-logs needs-upstream-testing
regression-potential

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

-- 
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/680174

Title:
  open() system call incorrect in hfsplus

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: hfsplus

  When I attempt to open() as a directory a name which is actually a
  file, the correct result is -1.  For example, in my system (ext4)
  partition (IOBug.java is a test file in the working directory; this is
  the "strace -f" output):

  [pid  2994] open("IOBug.java",
  O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOTDIR (Not a
  directory)

  However, when I make an open() call in an hfsplus partition, I get an
  unexpected result:

  [pid  3034] open("IOBug.java",
  O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 8

  Up the software stack, this causes the Java IO APIs and then Ant to
  behave incorrectly, making Ant-based development on the hfsplus
  partition impossible.

  I can't get the exact version information right now, but I'll provide
  it in a comment.  This is a fresh, up-to-date installation of
  Maverick.

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