fix file permissions (passwords)