Publishing Infrastucture gives Access Denied
This happens more often then I would like, but sometimes you receive an access denied message when trying to turn on the publishing infrastructure feature of SharePoint. This is related to the installation/configuration of the web applications and SharePoint user accounts.
Simple solution? Just use the stsadm command “stsadm -o activatefeature -name PublishingResources -url <YOURURL>” and it will activate the feature for you.
Other solutions could be adding the user account being used in the application pool to the WSS_ADMIN_WPG group on that local machine. This would resolve it and remove the permissions issue.
Anyways just wanted to note this so I wouldn’t forget and maybe it can help someone,