6 messages in com.mysql.lists.bugsRe: INTO OUTFILE 'filename' creates w...
FromSent OnAttachments
John Warburton19 Mar 2001 19:54 
Michael Widenius20 Mar 2001 08:45 
John Warburton21 Mar 2001 21:32 
Michael Widenius23 Mar 2001 08:16 
John Warburton26 Mar 2001 21:12 
Michael Widenius27 Mar 2001 00:38 
Subject:Re: INTO OUTFILE 'filename' creates world writeable files
From:John Warburton (John@uniq.com.au)
Date:03/26/2001 09:12:32 PM
List:com.mysql.lists.bugs

Hi Monty

John> Um, that is not my point. The examples I gave to reproduce the problem John> and the subject of this bug report is that "SELECT INTO OUTFILE" is John> creating *world writeable* (not just readable) files. I only found John> this problem trying to use mysqldump.

Sorry for misunderstanding this. I will see what I can do to fix so that the file is only world readable in the next MySQL version.

Not a problem on the misunderstanding - that is usually the writer's fault - not the reader's!

Rather than make the files world readable, could you please make the files follow the UMASK environment variable that mysqld uses, or at least use the umask of the user who is running the SELECT?

I read in the manual under file permissions: `UMASK' The user-file creation mask when creating files.

and assumed that it would be used when writing to ALL files.

Regards

John