Re: [sqlite] geteuid call

2014-08-16 Thread Simon Slavin
> On 16 Aug 2014, at 8:48pm, Tal Tabakman wrote: > >> he question becomes "Are you running as root ? If so, do you have a >> good reason to be running as root ?" > > No, I am not running as root. I am running in one of those secure > chamber at customer site.can it be related ? You should be

Re: [sqlite] geteuid call

2014-08-16 Thread Tal Tabakman
Hi Simon per your question he question becomes "Are you running as root ? If so, do you have a good reason to be running as root ?" No, I am not running as root. I am running in one of those secure chamber at customer site.can it be related ? On Sat, Aug 16, 2014 at 10:01 PM, Tal Tabakman

Re: [sqlite] geteuid call

2014-08-16 Thread Simon Slavin
On 16 Aug 2014, at 8:08pm, Richard Hipp wrote: > It comes from here: > http://www.sqlite.org/src/artifact/bd7df3094a609?ln=314-325 > > The posixFchown() function is used to ensure that the ownership of newly > created journal files match the ownership of the database file if the > process is ru

Re: [sqlite] geteuid call

2014-08-16 Thread Richard Hipp
On Sat, Aug 16, 2014 at 3:01 PM, Tal Tabakman wrote: > Hi Guys, > we have an application that generates database in sqlite format, > at customer, we saw while profiling that the geteuid() call done in > sqlite3.c is showing up rather high in our profiling report, any idea why ? > what is this us

[sqlite] geteuid call

2014-08-16 Thread Tal Tabakman
Hi Guys, we have an application that generates database in sqlite format, at customer, we saw while profiling that the geteuid() call done in sqlite3.c is showing up rather high in our profiling report, any idea why ? what is this used for ? thanks Tal _