swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax     Other Library Functions  
function  

FS_ChangePermissions

 
 

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 Syntax
   FS_ChangeOwner
 
  Other Library Functions
   FS_ChangeDirectory
   FS_ChangeOwner
   FS_ChangePermissions
   FS_DeleteDirectory
   FS_DeleteFile
   FS_GetCurrentDirectory
   FS_IsVersionCompatible
   FS_LibraryVersion
   FS_Link
   FS_ListDirectory
   FS_MakeDirectory
   FS_Rename
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.