#205 Shouldn't be able to edit read-only file.

minor bug
closed-invalid
nobody
5
2000-11-14
2000-11-08
Robert Eden
No

If you open a file that's read only, you'll be able to make changes in the editor, but of course won't be able to save. Currently, you just get an "Access Denied" exception.

The editor should at lease provide some feedback that this is a read-only document and disable the "Save" command. ("Save as" is still okay.)

This may be a task rather than a bug, but I can't submit tasks, so I'll call it a bug. :)

Discussion

  • Slava Pestov
    Slava Pestov
    2000-11-14

    • status: open --> closed-invalid
     
  • Slava Pestov
    Slava Pestov
    2000-11-14

    jEdit already checks for read only files. If read only files are opened read-write, then it is the fault of your Java implementation.