Right now I'm trying to set read access to the files of one of my databases. I'm using debian with basic mysql installation so the database location is /var/lib/mysql.
I want /var/lib/mysql/databaseName/** files to be readable for a few users so I'm trying to make a simbolic link to this directory but still can't use cd or ls. I tried chmod XX4 -R on this folder(/var/lib/mysql/databaseName) but It's not working.
rwxr--r-- 2 mysql mysql 4096 Sep 16 11:04 databaseName
I would like to know if giving this readable permissions is an importante security issue. If it's not I would like to know how to solve this :)
Thanks for your time guys!