Public bug reported:
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.
** Affects: hfsplus (Ubuntu)
Importance: Undecided
Status: New
--
open() system call incorrect in hfsplus
https://bugs.launchpad.net/bugs/680174
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs