Package: sensible-utils
Version: 0.0.14
Severity: normal

Hi!

The select-editor program misbehaves when the environment does not
contain the HOME variable set. For normal users this means the code
will be unable to write to «/.selected_editor», for root that means
the code will pollute the «/» directory.

Please check whether HOME is set, and otherwise initialize it with a
sensible value, f.ex. from «getent passwd $user|cut -d: -f6» or
similar.

An easy way to test this is with «env -i sensible-editor».

Thanks,
Guillem

Reply via email to