[UPHPU] write permissions for sqlite db

Ray Hunter bigdog at venticon.com
Tue Aug 22 09:16:41 MDT 2006

jtaber wrote:
> To create or write to a sqlite db, how can a php program give permission
> for writing?   For example if the db is to be in a directory /var/data
> and /data has a normal permission mod of 744 with root as owner ? 
> Should the owner be another user name ? 

how is php accessing the sqlite db file? from apache or standalone? if i
were to do it i would make the file have the same perms as the user
running the apache script and have the db have atleast read and write
perms on the file.


More information about the UPHPU mailing list