http://stackoverflow.com/questions/8221454/where-is-openfire-server-directory-on-mac
Entering super user mode first is one solution:
sudo su
and then:
cd /usr/local/openfire
Once you're done, type exit
to get out of super user mode.
Could I ask, why are you trying to add files to that directory though?