Skip to content

Read-only Flag Cleared Upon Close & Reopen #4409

@nathanm

Description

@nathanm

Description of the Issue

I usually keep a text file open in Notepad++ with special characters that I use to paste into documents. Because I don't want to inadvertently change it, I have the read-only flag set, just in case. However, with the latest update to Notepad++, the read-only flag is cleared when I open Notepad++.

I tried setting the file's read-only attribute in Windows Explorer, while Notepad++ was closed. Then, after reopening Notepad++, the flag was still set. However, after clearing it and setting it again in Notepad++, the wrong behavior continued.

Steps to Reproduce the Issue

  1. Set the read-only flag on a file
  2. Close Notepad++
  3. Open Notepad++

Expected Behavior

The read-only flag should remain set or cleared for each file, whatever its state was when last open.

Actual Behavior

The read-only flag is cleared for a file that was previously set.

Debug Information

Notepad++ v7.5.6 (32-bit)
Build time : Mar 19 2018 - 00:26:59
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll GedcomLexer.dll mimeTools.dll NppConverter.dll NppExport.dll PluginManager.dll

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