Bug #43430 | Connector/ODBC for linux rewrites private odbc.ini file | ||
---|---|---|---|
Submitted: | 5 Mar 2009 18:40 | Modified: | 6 Mar 2009 17:21 |
Reporter: | Mike Peck | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / ODBC | Severity: | S3 (Non-critical) |
Version: | 3.51.27 | OS: | Linux (RHEL4u6) |
Assigned to: | CPU Architecture: | Any | |
Tags: | ODBC, odbc.ini, write access |
[5 Mar 2009 18:40]
Mike Peck
[6 Mar 2009 17:21]
Jess Balint
Mike, MyODBC is not responsible for doing this, it's unixODBC. I tried this on my machine and it works fine with a read-only file, although it does try to open the file with write permissions initially: open("odbc.ini", O_WRONLY|O_APPEND|O_CREAT, 0666) = -1 EACCES (Permission denied) open("odbc.ini", O_RDONLY) = 3
[6 Mar 2009 19:18]
Jim Zawisza
FYI, I work for the vendor providing the application in question, and the application is using iODBC (statically linked).
[6 Mar 2009 19:31]
Jess Balint
This behaviour is not reproducible with iODBC.