Error getting tags :
error 404Error getting tags :
error 404 umask | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
umask
Basics
Expander triangle
Type
Property
Syntax
set the umask to permissionsString
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
Linux
Security
Disk
Summary
Specifies the Unix access permissions of files and folders created by the application.
Examples

set the umask to 002 -- owner read/write, anyone can read

Additional Comments
Expander triangle

Use the umask command to set the access permissions for files and folders you create.

Value:

The umask is a positive integer of three digits, or empty.

By default, the umask is set to the user's Unix "umask" setting.

Comments:

The umask blocks the specified permissions from being granted for newly created files and folders. It affects files created with the open file command, folders created with the create folder command, and files and folders created on the local system with the URL keyword.

Each digit of the umask property is an octal number that specifies a set of permissions:

* Read permission (4) lets a user read or copy the file or folder.

* Write permission (2) lets a user change the contents of the file or folder.

* Execute permission (1) lets a user run the file (if it is a program file), or work with files in the folder.

You add the numbers corresponding to each permission together to get the digit. For example, to specify that write permission is to be blocked, use the digit 2. To specify that read and execute permission should both be blocked, use the digit 5 (4 + 1).

The first digit of the umask specifies the permissions to be blocked for the owner of the file or folder; the second digit specifies the permissions to be blocked for members of the group that owns the file; and the third digit specifies permissions to be blocked for all other users. For example, if the umask is 022 when Revolution creates a file, the file owner has all the normal permissions, but the group and all other users do not have write permission, even if Revolution would normally create the file so as to give them write permission.

On Mac OS and Windows systems, the umask property has no effect and always reports zero.

User Comments
Expander triangle