Call the new name of set_perms(): set_file_attrs().