From ec775bb689b99f4d014ac12da06001654356869f Mon Sep 17 00:00:00 2001 From: Ilya Date: Tue, 7 May 2019 21:55:38 +0500 Subject: [PATCH 1/2] Improve error message in FileSystemProvider --- .../resources/FileSystemProviderStrings.resx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Management.Automation/resources/FileSystemProviderStrings.resx b/src/System.Management.Automation/resources/FileSystemProviderStrings.resx index 36894977dca..a77d8dad330 100644 --- a/src/System.Management.Automation/resources/FileSystemProviderStrings.resx +++ b/src/System.Management.Automation/resources/FileSystemProviderStrings.resx @@ -232,7 +232,7 @@ The property {0} does not exist or was not found. - You do not have sufficient access rights to perform this operation. + You do not have sufficient access rights to perform this operation or the item is hidden, system or read only. The attribute cannot be set because attributes are not supported. Only the following attributes can be set: Archive, Hidden, Normal, ReadOnly, or System. From f48390400133ecb1e212ead2b7b074007f017148 Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Tue, 7 May 2019 22:27:44 +0500 Subject: [PATCH 2/2] Update src/System.Management.Automation/resources/FileSystemProviderStrings.resx Co-Authored-By: iSazonov --- .../resources/FileSystemProviderStrings.resx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System.Management.Automation/resources/FileSystemProviderStrings.resx b/src/System.Management.Automation/resources/FileSystemProviderStrings.resx index a77d8dad330..2d2a36aa27f 100644 --- a/src/System.Management.Automation/resources/FileSystemProviderStrings.resx +++ b/src/System.Management.Automation/resources/FileSystemProviderStrings.resx @@ -232,7 +232,7 @@ The property {0} does not exist or was not found. - You do not have sufficient access rights to perform this operation or the item is hidden, system or read only. + You do not have sufficient access rights to perform this operation or the item is hidden, system, or read only. The attribute cannot be set because attributes are not supported. Only the following attributes can be set: Archive, Hidden, Normal, ReadOnly, or System.