Ticket #20 (closed defect: Invalid)
Opened 6 years ago
Mode parameter seems to be ignored
| Reported by: | thorstein | Owned by: | gh |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | implementation | Version: | None |
| Severity: | Bugs | Keywords: | |
| Cc: |
Description
import sqlite
conn = sqlite.Connection('mydb', mode=0600)
> ls -l mydb
-rw-r--r-- 1 thor thor 0 Jun 11 14:21
mydb
>
No matter what I put for mode, the access permissions
for file 'mydb' are always -rw-r--r--. It doesn't
matter whether I populate the database, or if the file
exists before the connection is created.
Both sqlite and sqlite-python were downloaded today:
> cat sqlite/VERSION
2.8.3
>
...
> ls
pysqlite-0.4.3/
>
I run a recent Mandrake on an IBM T30 laptop:
> cat /etc/issue
Mandrake Linux release 9.1 (Bamboo) for i586
Kernel 2.4.21-0.13mdk on an i686 / \l
>
Change History
Note: See
TracTickets for help on using
tickets.
