fix permissions for new files