Sunanda Menon wrote:
>
> Can you look at the changes made for this bug at 
> http://cr.opensolaris.org/~sunandam/6640449/ and let me know your comments .

The changes look good to me.

> >Earlier root was starting the SMF facility and now since we will have 
> >the mysql user created as part of Solaris ,If my understanding is 
> >correct then mysql user should be in a position to start the SMF 
> >facility much like what we have in place for postgres and so this 
> >calls for changes to be made to the user_attr as without which I get 
> >the permission denied error .The daemon mysqld is started as the mysql 
> >user .

Normally the user starting the service is either root (in which case
this thread doesn't apply) or a normal user who has been assigned the
necessary rights (that you're adding here to enable this scenario).

The system users like webservd or mysql are not generally intended for
anyone to use directly, it's just for the daemon process to run
as. So, there is no need for mysql user to have the rights to start
mysql.

I see these changes are not there in the latest diff anyway so this is
probably a moot point by now, just wanted to respond.


> >>So the end result here is that the mysql data is world readable?
> >>What's driving this?
> >
> >I had set the data directory in /var/mysql/5.0 as 700 which is not 
> >world readable .Are you referring to anything in particular which I 
> >can look into .This is also on similar lines to postgres .

The old diffs had 755, maybe I just didn't reload my browser in
time.. anyway, I see it is 700 now so looks good.

-- 
Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems

Reply via email to