Re: On attachment file permalink
Are you trying to make the permalinks prettier, or prevent google from indexing the attachments? I’m having a hard time following the conversation.
Also, you will have to ask the search engines to remove content from their index if it’s already in there. Each search engine has a form, and with Google Webmaster tools, it’s right in the admin screen. It happens in a couple days in my experience.