PreviousNextTracker indexSee it online !

(151/185) 341 - FTP: set buffer read-only flag from remote file

When opening a file from sftp:// which is read-only on the remote filesystem, the buffer should be flagged read-only to prevent unintentional edits - consistent with local file behaviour.

See also #340 which is related in terms of the backend required (retrieving file permission bits over SFTP).
----------------
jEdit 5.1.0
Oracle JRE 1.8.0_11
Windows 7 Enterprise 64-bit

Submitted bgolding - 2014-09-15 16:24:56.673000 Assigned
Priority 6 Labels
Status open Group None
Resolution None

Comments

2014-09-16 16:05:59.807000
bgolding

It would also be nice if

Macros => Files => Toggle ReadOnly

would work on remote files too.
I assume that the macro itself belongs to the editor core.
Not sure where changes are needed to make this happen (core/plugins)