New answers tagged

0

What is the underlying problem you are trying to solve?? UMASK may be the wrong approach. The files and directories must be fully accessible by the mysql "user", so directories need at least 0700 and files need 0600. If you want the "world" to be able to read them (but not write them), 0755 and 0644. But why would you want that? And you probably have to ...


1

Well, I found online that the environment variable UMASK and UMASK_DIR must be set, regardless of what the command umask will output. One must add export UMASK=0640 and export UMASK=0750 to the top of their startup script, immediately before calling mysqld_safe. The leading zero is important to switch to the octal numbering system. The first thing I tried ...



Top 50 recent answers are included