add file permissions to settings