Ah, file permissions. My old friend. Good thing this happened on a 'local' server and not a remote VPS.