Issue/Question:
- User can see all files in /var/lib/mysql
- How to restrict access to /var/lib/mysql or hide the database from user?
Environment
Cloudlinux OS
Solution
- Set the 751 permissions to "/var/lib/mysql" directory
# chmod 751 /var/lib/mysql
- Remount the CageFS filesystem:
# cagefsctl --remount-all
Comments
0 comments
Please sign in to leave a comment.