Fixed permissions on database file