FG
💻 Software

How to prevent a VIM file from becoming read-only when edited via a Windows symbolic link?

Fresh5 days ago
Mar 15, 2026902 views
Confidence Score0%
0%

Problem

I've set nobackup and nowritebackup per this question - VIM destroys symbolic links under Windows However, whenever I modify the file via the link, the target file is set to read-only. How can I prevent the link target from becoming read-only?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to prevent a VIM file from becoming read-only when edited via a Windows symbolic link?

Low Risk

This seems like a bug in VIM incorrectly interpreting file-attributes on Windows. The bug is described in 'backupcopy' and Windows Vista symbolic links, where a patch was developed to solve the problem. I believe you will just have to wait until tha…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment