Carbon


PBSetForeignPrivsSync

Header: Files.h Carbon status: Supported

Changes the native access-control information for a file or directory stored on a volume managed by a foreign file system.

OSErr PBSetForeignPrivsSync (
    HParmBlkPtr paramBlock
);
Parameter descriptions
paramBlock

A pointer to a foreignPrivParam variant of the HFS parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

The PBSetForeignPrivsSync function allows your application or shell program to communicate with a foreign file system about its native access-control system. This function sets access permissions for a file or directory on a volume managed by a file system that uses a privilege model different from the AFP model.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)