Altered privileges on download shell script