microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
377 stars 86 forks source link

Permission definition issue #3145

Closed p11angel closed 4 years ago

p11angel commented 4 years ago

Storage Explorer Version: 1.13.1 Build Number: Platform/OS: Architecture: Regression From:

{ "message": "\"{\n \\"name\\": \\"Error\\",\n \\"message\\": \\"This request is not authorized to perform this operation using this permission.\\nRequestId:1e5bd7e6-401f-0030-6a9e-4a8386000000\\nTime:2020-06-25T03:11:05.3011655Z\\",\n \\"stack\\": \\"Error: This request is not authorized to perform this operation using this permission.\\nRequestId:1e5bd7e6-401f-0030-6a9e-4a8386000000\\nTime:2020-06-25T03:11:05.3011655Z\\n at new RestError (C:\\\\Program Files (x86)\\\\Microsoft Azure Storage Explorer\\\\resources\\\\app\\\\node_modules\\\\@azure\\\\ms-rest-js\\\\dist\\\\msRest.node.js:2400:28)\\n at C:\\\\Program Files (x86)\\\\Microsoft Azure Storage Explorer\\\\resources\\\\app\\\\node_modules\\\\@azure\\\\ms-rest-js\\\\dist\\\\msRest.node.js:3544:37\\n at process._tickCallback (internal/process/next_tick.js:68:7)\\",\n \\"code\\": \\"AuthorizationPermissionMismatch\\",\n \\"statusCode\\": 403,\n \\"request\\": {\n \\"streamResponseBody\\": false,\n \\"url\\": \\"https://testangeladlsgen2access.dfs.core.windows.net/1testgen2/%2F?action=setAccessControl&timeout=60\\\",\\n \\"method\\": \\"PATCH\\",\n \\"headers\\": {\n \\"_headersMap\\": {\n \\"content-type\\": {\n \\"name\\": \\"content-type\\",\n \\"value\\": \\"application/octet-stream\\"\n },\n \\"x-ms-owner\\": {\n \\"name\\": \\"x-ms-owner\\",\n \\"value\\": \\"314a7568-9538-4fa6-b000-90f37a20f12d\\"\n },\n \\"x-ms-group\\": {\n \\"name\\": \\"x-ms-group\\",\n \\"value\\": \\"314a7568-9538-4fa6-b000-90f37a20f12d\\"\n },\n \\"x-ms-acl\\": {\n \\"name\\": \\"x-ms-acl\\",\n \\"value\\": \\"user::rwx,default:user::rwx,group::r-x,default:group::r-x,other::--x,default:other::--x,mask::r-x,default:mask::r-x,user:66907677-f117-47f5-8ac9-44e98c04d804:r-x,default:user:66907677-f117-47f5-8ac9-44e98c04d804:r-x\\"\n },\n \\"x-ms-version\\": {\n \\"name\\": \\"x-ms-version\\",\n \\"value\\": \\"2018-11-09\\"\n },\n \\"x-ms-client-request-id\\": {\n \\"name\\": \\"x-ms-client-request-id\\",\n \\"value\\": \\"aff92d95-933b-4a0a-90e0-3aaed65f4fb2\\"\n },\n \\"user-agent\\": {\n \\"name\\": \\"user-agent\\",\n \\"value\\": \\"Microsoft Azure Storage Explorer, 1.13.1, win32, Azure-Storage/12.2.0-preview (NODE-VERSION v10.11.0; Windows_NT 10.0.18362)\\"\n },\n \\"cookie\\": {\n \\"name\\": \\"cookie\\",\n \\"value\\": \\"\\"\n }\n }\n },\n \\"withCredentials\\": false,\n \\"abortSignal\\": {\n \\"onabort\\": null,\n \\"_aborted\\": false,\n \\"children\\": [],\n \\"abortEventListeners\\": [\n null\n ]\n },\n \\"timeout\\": 0,\n \\"operationSpec\\": {\n \\"httpMethod\\": \\"PATCH\\",\n \\"path\\": \\"{filesystem}/{path}\\",\n \\"urlParameters\\": [\n {\n \\"parameterPath\\": \\"accountName\\",\n \\"mapper\\": {\n \\"required\\": true,\n \\"serializedName\\": \\"accountName\\",\n \\"defaultValue\\": \\"\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"skipEncoding\\": true\n },\n {\n \\"parameterPath\\": \\"dnsSuffix\\",\n \\"mapper\\": {\n \\"required\\": true,\n \\"serializedName\\": \\"dnsSuffix\\",\n \\"defaultValue\\": \\"dfs.core.windows.net\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"skipEncoding\\": true\n },\n {\n \\"parameterPath\\": \\"filesystem\\",\n \\"mapper\\": {\n \\"required\\": true,\n \\"serializedName\\": \\"filesystem\\",\n \\"constraints\\": {\n \\"MaxLength\\": 63,\n \\"MinLength\\": 3,\n \\"Pattern\\": {}\n },\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": \\"path\\",\n \\"mapper\\": {\n \\"required\\": true,\n \\"serializedName\\": \\"path\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n ],\n \\"queryParameters\\": [\n {\n \\"parameterPath\\": \\"action\\",\n \\"mapper\\": {\n \\"required\\": true,\n \\"serializedName\\": \\"action\\",\n \\"type\\": {\n \\"name\\": \\"Enum\\",\n \\"allowedValues\\": [\n \\"append\\",\n \\"flush\\",\n \\"setProperties\\",\n \\"setAccessControl\\"\n ]\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"position\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"position\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"retainUncommittedData\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"retainUncommittedData\\",\n \\"type\\": {\n \\"name\\": \\"Boolean\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"close\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"close\\",\n \\"type\\": {\n \\"name\\": \\"Boolean\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"timeout\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"timeout\\",\n \\"constraints\\": {\n \\"InclusiveMinimum\\": 1\n },\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n }\n }\n ],\n \\"headerParameters\\": [\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"contentLength\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"Content-Length\\",\n \\"constraints\\": {\n \\"InclusiveMinimum\\": 0\n },\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsLeaseId\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-lease-id\\",\n \\"constraints\\": {\n \\"Pattern\\": {}\n },\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsCacheControl\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-cache-control\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsContentType\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-content-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsContentDisposition\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-content-disposition\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsContentEncoding\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-content-encoding\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsContentLanguage\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-content-language\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsProperties\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-properties\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsOwner\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-owner\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsGroup\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-group\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsPermissions\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-permissions\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsAcl\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-acl\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"ifMatch\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"If-Match\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"ifNoneMatch\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"If-None-Match\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"ifModifiedSince\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"If-Modified-Since\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"ifUnmodifiedSince\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"If-Unmodified-Since\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsClientRequestId\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-client-request-id\\",\n \\"constraints\\": {\n \\"Pattern\\": {}\n },\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": [\n \\"options\\",\n \\"xMsDate\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n },\n {\n \\"parameterPath\\": \\"xMsVersion\\",\n \\"mapper\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n ],\n \\"requestBody\\": {\n \\"parameterPath\\": [\n \\"options\\",\n \\"requestBody\\"\n ],\n \\"mapper\\": {\n \\"serializedName\\": \\"requestBody\\",\n \\"type\\": {\n \\"name\\": \\"Stream\\"\n }\n }\n },\n \\"contentType\\": \\"application/octet-stream\\",\n \\"responses\\": {\n \\"200\\": {\n \\"headersMapper\\": {\n \\"serializedName\\": \\"path-update-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathUpdateHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"acceptRanges\\": {\n \\"serializedName\\": \\"accept-ranges\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"cacheControl\\": {\n \\"serializedName\\": \\"cache-control\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentDisposition\\": {\n \\"serializedName\\": \\"content-disposition\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentEncoding\\": {\n \\"serializedName\\": \\"content-encoding\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLanguage\\": {\n \\"serializedName\\": \\"content-language\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"content-length\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n },\n \\"contentRange\\": {\n \\"serializedName\\": \\"content-range\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentType\\": {\n \\"serializedName\\": \\"content-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsProperties\\": {\n \\"serializedName\\": \\"x-ms-properties\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n }\n },\n \\"202\\": {\n \\"headersMapper\\": {\n \\"serializedName\\": \\"path-update-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathUpdateHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"acceptRanges\\": {\n \\"serializedName\\": \\"accept-ranges\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"cacheControl\\": {\n \\"serializedName\\": \\"cache-control\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentDisposition\\": {\n \\"serializedName\\": \\"content-disposition\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentEncoding\\": {\n \\"serializedName\\": \\"content-encoding\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLanguage\\": {\n \\"serializedName\\": \\"content-language\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"content-length\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n },\n \\"contentRange\\": {\n \\"serializedName\\": \\"content-range\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentType\\": {\n \\"serializedName\\": \\"content-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsProperties\\": {\n \\"serializedName\\": \\"x-ms-properties\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n }\n },\n \\"default\\": {\n \\"bodyMapper\\": {\n \\"serializedName\\": \\"DataLakeStorageError\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"DataLakeStorageError\\",\n \\"modelProperties\\": {\n \\"error\\": {\n \\"serializedName\\": \\"error\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"DataLakeStorageErrorError\\"\n }\n }\n }\n }\n }\n }\n },\n \\"serializer\\": {\n \\"modelMappers\\": {\n \\"DataLakeStorageError\\": {\n \\"serializedName\\": \\"DataLakeStorageError\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"DataLakeStorageError\\",\n \\"modelProperties\\": {\n \\"error\\": {\n \\"serializedName\\": \\"error\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"DataLakeStorageErrorError\\"\n }\n }\n }\n }\n },\n \\"DataLakeStorageErrorError\\": {\n \\"serializedName\\": \\"DataLakeStorageError_error\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"DataLakeStorageErrorError\\",\n \\"modelProperties\\": {\n \\"code\\": {\n \\"serializedName\\": \\"code\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"message\\": {\n \\"serializedName\\": \\"message\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"Path\\": {\n \\"serializedName\\": \\"Path\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"Path\\",\n \\"modelProperties\\": {\n \\"name\\": {\n \\"serializedName\\": \\"name\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"isDirectory\\": {\n \\"serializedName\\": \\"isDirectory\\",\n \\"defaultValue\\": false,\n \\"type\\": {\n \\"name\\": \\"Boolean\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"lastModified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"eTag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"contentLength\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n },\n \\"owner\\": {\n \\"serializedName\\": \\"owner\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"group\\": {\n \\"serializedName\\": \\"group\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"permissions\\": {\n \\"serializedName\\": \\"permissions\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"PathCreateHeaders\\": {\n \\"serializedName\\": \\"path-create-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathCreateHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsContinuation\\": {\n \\"serializedName\\": \\"x-ms-continuation\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"content-length\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n }\n }\n }\n },\n \\"PathDeleteHeaders\\": {\n \\"serializedName\\": \\"path-delete-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathDeleteHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsContinuation\\": {\n \\"serializedName\\": \\"x-ms-continuation\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"PathGetPropertiesHeaders\\": {\n \\"serializedName\\": \\"path-getproperties-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathGetPropertiesHeaders\\",\n \\"modelProperties\\": {\n \\"acceptRanges\\": {\n \\"serializedName\\": \\"accept-ranges\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"cacheControl\\": {\n \\"serializedName\\": \\"cache-control\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentDisposition\\": {\n \\"serializedName\\": \\"content-disposition\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentEncoding\\": {\n \\"serializedName\\": \\"content-encoding\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLanguage\\": {\n \\"serializedName\\": \\"content-language\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"content-length\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n },\n \\"contentRange\\": {\n \\"serializedName\\": \\"content-range\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentType\\": {\n \\"serializedName\\": \\"content-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsResourceType\\": {\n \\"serializedName\\": \\"x-ms-resource-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsProperties\\": {\n \\"serializedName\\": \\"x-ms-properties\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsOwner\\": {\n \\"serializedName\\": \\"x-ms-owner\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsGroup\\": {\n \\"serializedName\\": \\"x-ms-group\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsPermissions\\": {\n \\"serializedName\\": \\"x-ms-permissions\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsAcl\\": {\n \\"serializedName\\": \\"x-ms-acl\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseDuration\\": {\n \\"serializedName\\": \\"x-ms-lease-duration\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseState\\": {\n \\"serializedName\\": \\"x-ms-lease-state\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseStatus\\": {\n \\"serializedName\\": \\"x-ms-lease-status\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"PathLeaseHeaders\\": {\n \\"serializedName\\": \\"path-lease-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathLeaseHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseId\\": {\n \\"serializedName\\": \\"x-ms-lease-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseTime\\": {\n \\"serializedName\\": \\"x-ms-lease-time\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"PathList\\": {\n \\"serializedName\\": \\"PathList\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathList\\",\n \\"modelProperties\\": {\n \\"paths\\": {\n \\"serializedName\\": \\"paths\\",\n \\"type\\": {\n \\"name\\": \\"Sequence\\",\n \\"element\\": {\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"Path\\"\n }\n }\n }\n }\n }\n }\n },\n \\"PathListHeaders\\": {\n \\"serializedName\\": \\"path-list-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathListHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsContinuation\\": {\n \\"serializedName\\": \\"x-ms-continuation\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"PathReadHeaders\\": {\n \\"serializedName\\": \\"path-read-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathReadHeaders\\",\n \\"modelProperties\\": {\n \\"acceptRanges\\": {\n \\"serializedName\\": \\"accept-ranges\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"cacheControl\\": {\n \\"serializedName\\": \\"cache-control\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentDisposition\\": {\n \\"serializedName\\": \\"content-disposition\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentEncoding\\": {\n \\"serializedName\\": \\"content-encoding\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLanguage\\": {\n \\"serializedName\\": \\"content-language\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"content-length\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n },\n \\"contentRange\\": {\n \\"serializedName\\": \\"content-range\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentType\\": {\n \\"serializedName\\": \\"content-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsResourceType\\": {\n \\"serializedName\\": \\"x-ms-resource-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsProperties\\": {\n \\"serializedName\\": \\"x-ms-properties\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseDuration\\": {\n \\"serializedName\\": \\"x-ms-lease-duration\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseState\\": {\n \\"serializedName\\": \\"x-ms-lease-state\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsLeaseStatus\\": {\n \\"serializedName\\": \\"x-ms-lease-status\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n },\n \\"PathUpdateHeaders\\": {\n \\"serializedName\\": \\"path-update-headers\\",\n \\"type\\": {\n \\"name\\": \\"Composite\\",\n \\"className\\": \\"PathUpdateHeaders\\",\n \\"modelProperties\\": {\n \\"date\\": {\n \\"serializedName\\": \\"date\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"eTag\\": {\n \\"serializedName\\": \\"etag\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"lastModified\\": {\n \\"serializedName\\": \\"last-modified\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"acceptRanges\\": {\n \\"serializedName\\": \\"accept-ranges\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"cacheControl\\": {\n \\"serializedName\\": \\"cache-control\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentDisposition\\": {\n \\"serializedName\\": \\"content-disposition\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentEncoding\\": {\n \\"serializedName\\": \\"content-encoding\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLanguage\\": {\n \\"serializedName\\": \\"content-language\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentLength\\": {\n \\"serializedName\\": \\"content-length\\",\n \\"type\\": {\n \\"name\\": \\"Number\\"\n }\n },\n \\"contentRange\\": {\n \\"serializedName\\": \\"content-range\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"contentType\\": {\n \\"serializedName\\": \\"content-type\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsProperties\\": {\n \\"serializedName\\": \\"x-ms-properties\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsRequestId\\": {\n \\"serializedName\\": \\"x-ms-request-id\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n },\n \\"xMsVersion\\": {\n \\"serializedName\\": \\"x-ms-version\\",\n \\"type\\": {\n \\"name\\": \\"String\\"\n }\n }\n }\n }\n }\n }\n }\n }\n },\n \\"response\\": {\n \\"body\\": \\"{\\\\"error\\\\":{\\\\"code\\\\":\\\\"AuthorizationPermissionMismatch\\\\",\\\\"message\\\\":\\\\"This request is not authorized to perform this operation using this permission.\\\\nRequestId:1e5bd7e6-401f-0030-6a9e-4a8386000000\\\\nTime:2020-06-25T03:11:05.3011655Z\\\\"}}\\",\n \\"headers\\": {\n \\"_headersMap\\": {\n \\"connection\\": {\n \\"name\\": \\"connection\\",\n \\"value\\": \\"close\\"\n },\n \\"content-length\\": {\n \\"name\\": \\"content-length\\",\n \\"value\\": \\"227\\"\n },\n \\"content-type\\": {\n \\"name\\": \\"content-type\\",\n \\"value\\": \\"application/json;charset=utf-8\\"\n },\n \\"date\\": {\n \\"name\\": \\"date\\",\n \\"value\\": \\"Thu, 25 Jun 2020 03:11:05 GMT\\"\n },\n \\"server\\": {\n \\"name\\": \\"server\\",\n \\"value\\": \\"Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0\\"\n },\n \\"x-ms-error-code\\": {\n \\"name\\": \\"x-ms-error-code\\",\n \\"value\\": \\"AuthorizationPermissionMismatch\\"\n },\n \\"x-ms-request-id\\": {\n \\"name\\": \\"x-ms-request-id\\",\n \\"value\\": \\"1e5bd7e6-401f-0030-6a9e-4a8386000000\\"\n },\n \\"x-ms-version\\": {\n \\"name\\": \\"x-ms-version\\",\n \\"value\\": \\"2018-11-09\\"\n }\n }\n },\n \\"status\\": 403\n },\n \\"body\\": {\n \\"error\\": {\n \\"code\\": \\"AuthorizationPermissionMismatch\\",\n \\"message\\": \\"This request is not authorized to perform this operation using this permission.\\nRequestId:1e5bd7e6-401f-0030-6a9e-4a8386000000\\nTime:2020-06-25T03:11:05.3011655Z\\"\n }\n }\n}\"" }

MRayermannMSFT commented 4 years ago

@p11angel can you make sure that you have write permissions on the directory whose ACL you are trying to change? This error means that you don't have the needed permissions (write) to do that.

p11angel commented 4 years ago

@MRayermannMSFT Even though I am the owner of the directory?Do I still need to define a specific write permission to it?

MRayermannMSFT commented 4 years ago

@p11angel yes. In the case of POSIX ACLs, it is possible for the "owner" to not have write permissions. Please confirm:

MRayermannMSFT commented 4 years ago

Closing due to lack of response from original issue opener. Please open a new issue if you are continuing to have problems.