Skip to content

Can't exit vim editing file with no write access for user #260

Open
@Praful

Description

@Praful

I'm not sure whether to log this with Vim or here.

I am logged in as UserA and have read-only access to a folder that is owned by Administrator. If I open a file in gvim, I can edit it. However, when I try to save it, the following message appears:

File permissions of [filename] are read-only. It may still be possible to write it. Do you wish to try?

The options are Yes or No. Whichever I choose, I get asked again. The only way to exit this infinite loop is to kill the gvim process from Task Manager or equivalent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions