Error while activating publishing feature

Error : I was trying to activate the Office SharePoint Server Publishing Infrastructure feature through the ManageFeatures pages, but it threw me the access denied error. Fix : C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN> stsadm -o activatefeature -name PublishingResources -url http://website Run the above in the command prompt and then try activating the feature it will work, digging on the cause.. will post when I'm done.