Tags:
create new tag
view all tags

.FILE MAKE DIR

This subroutine is called to create a directory in the filesystem.


Usage:

    PASS        <error_message>           FIELD           SHARE? Y
    PASS        <directory_name>          FIELD           SHARE? N
    GOSUB   --- .FILE MAKE DIR
     *       check for errors
    IF      --- .FILE MAKE DIR            NE

Description:

This subroutine is called to create a directory in the filesystem. Both parameters are required, the subroutine will CANCEL if they are not received.

<error_message> contains additional error information if the command fails (Required). Must be PASSed with Share "Y".

<directory_name> is the directory name to create (Required).

If .FILE MAKE DIR is not blank, you can check <error_message> for more information on why the command failed.

This command is run by the appx engine, not by 'shelling out' to the O/S level, therefore the directory will have the permissions of the engine. On Linux/Unix systems, if the 'setuid' bit is set, then those will be the permissions of user 'appx'. If you do not have the 'setuid' bit set, then the those will be the permissions of whatever user you have the engine configured to impersonate. On Windows the permissions will be that of the current user.

Comments:

Read what other users have said about this page or add your own comments.


-- PeteBrower - 2011-08-12

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2012-01-25 - JeanNeron
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback