swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   vfsChangePermissions   Available in:
Professional
Enterprise

Library: omvfs - virtual file system
Include: omvfs.xin

Declaration

  define external function vfsChangePermissions
                 value  stream  path
       on        value  vfsDir  location  optional
       to        value  stream  mode
       contents  value  switch  contents  optional  initial {VFS-NOT-INCLUDED}

  where:
  where
path
the file or directory name of the ownership change
location
a connected directory
mode
the permission change directive
contents
specifies if the directory contents are also to have changed permissions


Purpose

You use this function to change the permissions of a file or subdirectory.

PARAMETERS

Path must be in one of the following formats:

Mode values must be in the string format used by the chmod function

Contents value must be one of the following:

Location must be connected to a directory.

Location must be connected through the following scheme:

OPERATION

Sample function call:

  ; where Sydney is a currently connected vfsDir
  vfsChangePermissions "Programs" on Sydney  to "rw"  

        Other Library Functions
   vfsChangeDir
   vfsChangeOwner
   vfsChangePermissions
   vfsClose
   vfsConnect
   vfsConnectDir
   vfsCopy
   vfsCursorPosition
   vfsDeleteDir
   vfsDeleteFile
   vfsDescribe
   vfsDescribeFile
   vfsDir
   vfsDirName
   vfsDisconnect
   vfsFile
   vfsFileDir
   vfsFileName
   vfsIsVersionCompatible
   vfsLibraryVersion
   vfsLink
   vfsList
   vfsLock
   vfsMakeDir
   vfsMove
   vfsMoveCursor
   vfsOpen
   vfsRead
   vfsTruncate
   vfsUnlock
   vfsWrite
 
----  

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

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:47 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.