When you get an access denied after you enable the publishing infrastructure feature on a WSS site, follow the steps in this post. Worked like a charm for me!