List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:November 30 1999 12:19am
Subject:Re: umask for bind on LOCAL socket
View as plain text  
At 11:01 AM +1100 1999/11/30, Benjamin Low wrote:
>I see that mysql-3.22.27 sets the umask to 0 before binding to a local
>(UNIX) socket, then resets the umask. Why?
>
>I'd like to see the socket permissions be restricted, to provide another
>layer of protection - much as TCP wrappers do in the AF_INET world. The
>(UNIX) filesystem has a pretty good permissions system, why not use it?


The MySQL grant tables provide access control already.

If you want different behavior, of course, you can just change the
source.

-- 
Paul DuBois, paul@stripped
Thread
privileges for GET_LOCK?Benjamin Low19 Nov
  • Re: privileges for GET_LOCK?Paul DuBois19 Nov
  • umask for bind on LOCAL socketBenjamin Low30 Nov
    • Re: umask for bind on LOCAL socketPaul DuBois30 Nov
  • Re: umask for bind on LOCAL socketBenjamin Low30 Nov
    • Re: umask for bind on LOCAL socketPaul DuBois30 Nov
  • Re: umask for bind on LOCAL socketBenjamin Low30 Nov