Re: INTO OUTFILE "filename" creates world writeable files

Re: INTO OUTFILE "filename" creates world writeable files

am 08.07.2003 17:18:24 von Neil Walker

Dear Sinisa

thanks for the reply.

>It is possible that Solaris is not using current group until mysqld
>restarts. This should not be a case, but still.

Quite so. On Solaris you do not need to say:

newgrp foo

to write files that require you to be in group foo, providing you have
restarted your shell since you were added to foo.

The mysqld daemon has been restarted several times since we started
this (the database is shut down briefly and files backed up each
night), so I don't think this is the problem.

>You can try it by mysqldumping to /tmp and see with what group id is
>mysqld writting.

It writes as mysql:mysql, as expected. You're not suggesting I change
the primary group of mysql?

>> [b] attempts to create a file via mysql_query(), which fails
>>
>
>It is server who attempts it.

OK, that is understood. The server is called, and it wants to buffer
via a socket with wide open permissions? Is this a platform-specific
bind issue?

Yours
Neil


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: INTO OUTFILE "filename" creates world writeable files

am 08.07.2003 19:01:52 von Sinisa Milivojevic

Neil Walker writes:
> Dear Sinisa
>
> thanks for the reply.
>
> OK, that is understood. The server is called, and it wants to buffer
> via a socket with wide open permissions? Is this a platform-specific
> bind issue?
>
> Yours
> Neil


This is platform dependent and Sun should fix it, as this is not SysV compatible.

--

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB
/_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator
<___/ www.mysql.com Larnaca, Cyprus


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org