Skip to content

LiveShare: Improve support for dirty readonly filesΒ #53257

@IlyaBiryukov

Description

@IlyaBiryukov

Issue Type: Bug

When an extension applies edits to the documents opened from a read-only file system provider, the document becomes marked as 'dirty' but saving it always fails with an error "Failed to save 'file.ext': Insufficient permissions. Select 'Retry as Admin' to retry as administrator." Retrying as administrator does nothing and repeats the error.

VS Code version: Code - Insiders 1.25.0-insider (5d6156a, 2018-06-25T09:40:10.343Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: enabled
webgl: enabled
webgl2: enabled
Memory (System) 31.92GB (12.16GB free)
Process Argv C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe C:\src\cascade\vscode\extension
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
cpptools ms- 0.17.5
csharp ms- 1.15.2
vsliveshare ms- 0.4.0-dev

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityworkbench-editorsManaging of editor widgets in workbench window

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions