Menu

Addon for Read Only files

2006-01-05
2012-11-13
  • Nobody/Anonymous

    Hi,

    I noticed that if I open a readonly file with np++ then it doesn't even let me edit it (although windows notepad does let me edit it, it still doesn't save over it). It would be nice if NP++ could either ask if I would like to make it writeable or have it as an option when right clicking over it in the editing window: "make file writeable" (currently when right clicking, everything is disabled).

    Thanks,

    Yair

     
    • Nobody/Anonymous

      yeah, same for me.

      Marco

       
    • Nobody/Anonymous

      As long as the application doesn't change the attribute without your knowledge then it should be ok to have the ability of making it writeable.

      Yair

       
    • Chris Severance

      Chris Severance - 2006-01-10

      The application is welcome to contain the tools to set and clear the read-only bit but should never offer to do it automatically without automatically returning read-only to it's original state. Overwriting read-only files at all is questionable. Here is an example dialog that would not be acceptable:

      "The file you are trying to save is read-only, would you like to clear read only bit and save?"

      Whoever set read-only doesn't want it to be trampled by some nitwit running an over zealous editor. Such a question could also lead to asking over and over if saving to a CDROM on which the read-only bit can never be cleared.

      Windows itself has a few of these inappropriate dialog boxes.

       
    • Chris Severance

      Chris Severance - 2006-01-05

      As long as Notepad++ doesn't change the Read-Only bit on the original file it's ok. Read-Only is a farce when applications are willing to write over it.

       
      • Nobody/Anonymous

        There should be a way to clear the read-only flag from within the editor. It's a pain to find it externally to set this. As an example in "TextPad" its at the bottom right on the status bar.  btw..notepad++ rulez.  Thanks.

         
        • Nobody/Anonymous

          i'm dumb..it's under the edit menu.

           
MongoDB Logo MongoDB