File Permissions

Discussion in 'Databases' started by Chris009, Oct 9, 2007.

  1. #1
    Okay, when you have some script that uses a database you're going to have some sort of file that'll have the information stored about the database. Like database name, username, and password.

    On this file you're supposed to set it to a permission, so no one can get into it.
    With that said, I installed mediawiki, and the instructions state to chmod to 600. The file is currently 666, website works fine with it at 666. But when I turn it to 600, it get errors trying to run the site. If I chmod to 604, it'll work. Is chmod 604 safe for the file?
     
    Chris009, Oct 9, 2007 IP