On Jun 23, 2010, at 9:08 PM, Brian Aker wrote:
>
> So you are suggesting that we do the test/create after we have switched
> users?
>
More or less, yes. drizzled runs as the user specified in drizzed.cnf... I.e.:
[drizzled]
user = drizzle
Meaning, under this scenario, if I run 'drizzled' as 'root' I can assume that the process will start as root, then switch to the drizzle user, then run... but right now it bails because the initial .temporary is created as root. The obvious answer is 'just start the process as the drizzle user' but this doesn't really sound ideal to me being that all the pieces are already there... just that some of them are out of order.
On Jun 23, 2010, at 9:08 PM, Brian Aker wrote:
>
> So you are suggesting that we do the test/create after we have switched
> users?
>
More or less, yes. drizzled runs as the user specified in drizzed.cnf... I.e.:
[drizzled]
user = drizzle
Meaning, under this scenario, if I run 'drizzled' as 'root' I can assume that the process will start as root, then switch to the drizzle user, then run... but right now it bails because the initial .temporary is created as root. The obvious answer is 'just start the process as the drizzle user' but this doesn't really sound ideal to me being that all the pieces are already there... just that some of them are out of order.
Thanks.
---
derks