Before you can use an HFS API to work with a particular file system, these conditions must be met:
Authority to use files and directories within a file system is controlled by
the file system itself.
Hierarchical File System APIs | APIs by category |