...
The following example provides the owner, group, and everyone else permission to read, write, and execute the file:
Panel |
---|
attrib local mode=777 |
The following example provides the owner permission to read, write, and execute the file; members of the file's group permission to read and execute the file; and everyone else no permissions.
Panel |
---|
attrib local mode=750 |
The following example provides the owner permission to read and write the file; and no permissions to the file's group and everyone else.
Panel |
---|
attrib local mode=600 |
Defaults
By default, the mode attribute is not set.
...
The umask attribute is used in specifying the mode if a UDM version prior to 3.2.0 is involved in the transfer. Version 3.2.0 (and greater) versions can be changed to behave this way as well by setting the mode attribute to 0 on the destination side of the transfer.
For example:
Panel |
---|
...
attrib dest_logical_name mode=0 |
Note | ||
---|---|---|
| ||
Relying solely on the umask attribute may not always produce the results expected, since it relies on a file's existing permissions. For complete control over file permissions, Stonebranch recommends using the mode attribute whenever possible. |
...