Edit db file perms