Closed mpictor closed 2 years ago
This is somewhat related to #180 but more severe: I am unable to view the file.
Given a file with mode 0o444 (aka r--r--r--, no write access) I an unable to view the file. Instead, an error pops up:
0o444
r--r--r--
Unable to open 'file.name' EACCESS: permission denied, open '/path/to/file.name'
If it fails to open read-write, it should try again readonly and disallow edits.
We don't currently have a readonly mode which is why this doesn't work. #180 would unblock this too
This is somewhat related to #180 but more severe: I am unable to view the file.
Given a file with mode
0o444
(akar--r--r--
, no write access) I an unable to view the file. Instead, an error pops up:Desired behavior:
If it fails to open read-write, it should try again readonly and disallow edits.