I can delete the file if i just use /usr/bin/rm instead.