Hello Christian,

On Thu, 06.07.2006 at 12:40:30 +0200, Christian Hammers <[EMAIL PROTECTED]> 
wrote:
> IIRC this documented exactly this way.

I'll check this.

> mysql currently only writes with mode
> 0666 and only in world writable directories (so that nobody expects
> security). Reason was that mysql writes as system user mysql but wants the
> unprivileged normal system user who runs "/usr/bin/mysql" to be able to "use"
> these files then.

This "feature" even prevents you from ensuring basic integrity of the
file written this way because you can't ensure that the file stays ok
between the time it is created and the time you ("the owner") move it
to a safe place. Also, how are you supposed to export confidential data
from your databse, then?

You can't eat the cake and still keep it!

> It might be improvable design but you should write proposals to
> http://bugs.mysql.com/ then.

I'll probably turn this way if I find that it's indeed documented the
way it works, as you say.


Best,
--Toni++



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to