LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Permission on MySql Directory (https://www.linuxquestions.org/questions/slackware-14/permission-on-mysql-directory-829271/)

ethereal1m 08-30-2010 04:35 AM

Permission on MySql Directory
 
Dear all,
what is the correct permission for mysql directory under /var/lib directory? I set permission using:
Code:

chmod 755 mysql
but got permission deny error. What is the best setting permission for this directory so that I won't jeopardize security?

Best regards,
ethereal

ponce 08-30-2010 05:18 AM

on my install is
Code:

# ls -la /mnt/var/lib/mysql/
drwxr-x--- 12 mysql mysql    4096 2010-08-26 07:40 ./


EricTRA 08-30-2010 05:27 AM

Hello,

All my MySQL servers have these settings for that directory:
Code:

drwx------  3 mysql  mysql  4096 Aug 30 12:25 mysql
Hope it helps.

Kind regards,

Eric

ethereal1m 09-02-2010 02:26 AM

thanks

EricTRA 09-02-2010 02:28 AM

Hi,

You're welcome, good you got it solved.

Kind regards,

Eric


All times are GMT -5. The time now is 01:19 AM.