Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Macro name changed from html to html-bobswift during server to cloud migration processing.

...

The following example provides the owner, group, and everyone else permission to read, write, and execute the file:

Panel

Html bobswift

<pre>
attrib local mode=777
</pre>


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

Html bobswift

<pre>
attrib local mode=750
</pre>


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

Html bobswift

<pre>
attrib local mode=600
</pre>

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

Html bobswift

<pre>
attrib dest_logical_name mode=0
</pre>

 

Note
titleNote

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.