mongo and redis are readable by any user by default



  • Solve this with:

    # chmod o-rwx /var/lib/redis
    # chmod o-rwx /var/lib/mongo
    

    If you are the only user with access to the server it's not a big problem. However, it's better to make it inaccessible by other users just in case a cracker get access with non-root user account.


 

| |