Re: INTO OUTFILE "filename" creates world writeable files
am 08.07.2003 17:18:24 von Neil WalkerDear 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