Skip to content

Commit 9e9eb5e

Browse files
authored
Don't check locked stat in file picker (microsoft#218707)
Fixes microsoft#212408
1 parent 56a2eb0 commit 9e9eb5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ export class SimpleFileDialog implements ISimpleFileDialog {
832832
} else if (!statDirname.isDirectory) {
833833
this.filePickBox.validationMessage = nls.localize('remoteFileDialog.validateNonexistentDir', 'Please enter a path that exists.');
834834
return Promise.resolve(false);
835-
} else if (statDirname.readonly || statDirname.locked) {
835+
} else if (statDirname.readonly) {
836836
this.filePickBox.validationMessage = nls.localize('remoteFileDialog.validateReadonlyFolder', 'This folder cannot be used as a save destination. Please choose another folder');
837837
return Promise.resolve(false);
838838
}

0 commit comments

Comments
 (0)