From 4653610f9a4e88e59d9170c37db25090c00b9a59 Mon Sep 17 00:00:00 2001 From: "yishiwang@microsoft.com" Date: Mon, 25 Jul 2022 11:11:53 +0800 Subject: [PATCH] Update description for setting sticky bit for ADLS Gen2 --- .../azure/cli/command_modules/storage/_params.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/azure-cli/azure/cli/command_modules/storage/_params.py b/src/azure-cli/azure/cli/command_modules/storage/_params.py index 92f0fe2219c..c909f95edfb 100644 --- a/src/azure-cli/azure/cli/command_modules/storage/_params.py +++ b/src/azure-cli/azure/cli/command_modules/storage/_params.py @@ -148,9 +148,15 @@ def load_arguments(self, _): # pylint: disable=too-many-locals, too-many-statem 'https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-access-control#umask.') permissions_type = CLIArgumentType( help='POSIX access permissions for the file owner, the file owning group, and others. Each class may be ' - 'granted read, write, or execute permission. The sticky bit is also supported. Both symbolic (rwxrw-rw-) ' - 'and 4-digit octal notation (e.g. 0766) are supported. For more information, please refer to https://' - 'docs.microsoft.com/azure/storage/blobs/data-lake-storage-access-control#levels-of-permission.') + 'granted read (4), write (2), or execute (1) permission. Both symbolic (rwxrw-rw-) and 4-digit octal ' + 'notation (e.g. 0766) are supported. The sticky bit is also supported and in symbolic notation, ' + 'its represented either by the letter t or T in the final character-place depending on whether ' + 'the execution bit for the others category is set or unset respectively (e.g. rwxrw-rw- with sticky bit ' + 'is represented as rwxrw-rwT. A rwxrw-rwx with sticky bit is represented as rwxrw-rwt), absence of t or T ' + 'indicates sticky bit not set. In 4-digit octal notation, its represented by 1st digit (e.g. 1766 ' + 'represents rwxrw-rw- with sticky bit and 0766 represents rwxrw-rw- without sticky bit). For more ' + 'information, please refer to ' + 'https://docs.microsoft.com/azure/storage/blobs/data-lake-storage-access-control#levels-of-permission.') timeout_type = CLIArgumentType( help='Request timeout in seconds. Applies to each call to the service.', type=int