/usr/lib/ocf/resource.d/heartbeat/.ocf-directories is in resource-agents 1:3.9.3+git20121009-3ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/ocf/resource.d/heartbeat/../../lib/heartbeat/ocf-directories