FS_ChangePermissions

function

Library: File system utilities (OMFSYS legacy)
Include: omfsys.xin

Declaration
define external function FS_ChangePermissions
                value      stream  path
   to           value      integer mode
   status       modifiable stream  statusvalue


Purpose

The omfsys library has been deprecated and will be removed from a future version of the language. Use omvfs instead.

This function allows you to change the access permissions on a file or a directory.

Input arguments:

Output arguments:

The permissions granted by a call to FS_ChangePermissions cannot exceed those allowed by the operating system.

See the sample programs in the description for FS_MakeDirectory that show what happens when the permissions assigned by the operating system and those assigned by an OmniMark File System Utilities function conflict.

Related Topics