|  | 
 | ||||
|        | |||||
|  | ||||||
| Related Syntax | Other Library Functions | |||||
| function | FS_ChangeOwner | 
| Library: File system utilities (OMFSYS) legacy Include: omfsys.xin | 
define external function FS_ChangeOwner
                value      stream  path
   owner        value      integer owner
   group        value      integer group
   status       modifiable stream  statusvalue
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 ownership ID of a file or directory.
Input arguments:
Output argument:
Note that "newpath" must refer to a valid path name. Also, the user ID of the process must be the same as the file owner or the process must belong to the super-user.
| Related Syntax FS_ChangePermissions | 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 | 
Copyright © Stilo International plc, 1988-2008.