
sqlite-jdbc - issue #17
Shared library in /tmp on multi-user system causes IOException
What steps will reproduce the problem? 1. As one user, touch /tmp/sqlite-3.7.2-libsqlitejdbc.so (replace with the correct version number for the library you're using, chmod so it's not writable by other users). 2. As another user, attempt to run a program using the library.
What is the expected output? What do you see instead? The program should run as expected. Instead, it throws an IOException when it fails to delete the file (http://code.google.com/p/sqlite-jdbc/source/browse/src/main/java/org/sqlite/SQLiteJDBCLoader.java#138).
What version of the product are you using? On what operating system? This was tested on a 64-bit Debian machine with version 3.7.2 of the library, but the results should be the same on any OS (and the relevant code hasn't changed at all between versions).
Please provide any additional information below. I accidentally filed an identical issue at http://code.google.com/p/xerial/issues/detail?id=101 because I didn't read http://www.xerial.org/trac/Xerial/wiki/SQLiteJDBC properly. Sorry!
Comment #1
Posted on Jan 23, 2013 by Quick Oxany workaround? I am facing the same issue.
Status: New
Labels:
Type-Defect
Priority-Medium
AffectedVersion-3.7.x
FixedVersion-NA