select-editor should informatively handle read-only $HOME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
debianutils (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: debianutils
bryce> kirkland: btw I ran into an issue with sensible-editor
<bryce> kirkland: I have a chroot set up with intrepid installed, and have emacs22 installed in that. When I do crontab -e, sensible-editor asks to choose vim.tiny or emacs22
<bryce> kirkland: I pick emacs22 which it accepts without error, but it pops up vi instead
<bryce> on exiting I see the error messages:
<bryce> /usr/bin/
<bryce> /usr/bin/
<bryce> I believe this is because I mount my home dir read-only inside the chroot
* bigjools-dinner is now known as bigjools
<bryce> I tried putting various things into ~/.selected_editor but didn't know what it expects to be there; couldn't get it to work.
Patch attached. Patch fixes both this bug, as well as Bug #264423.
:-Dustin