if(!-w $mp3_file) { # This shouldn't happen but... chmod 0755,$mp3_file; }