Having performed a
sudo less ...
... in order to view a restricted log-file and doing some searches with it, I found the ownership and group of my
~/.lesshst file changed to
~ refers to the home-directory of the user invoking the
sudo command, not the home of
This is happening on a fresh Ubuntu 18.04 install with
less 487 (GNU regular expressions) Copyright (C) 1984-2016 Mark Nudelman
I could find (google) no references of anyone observing, let alone explaining this behaviour anywhere; so I'm looking for either a rationale for it here or confirmation that it is simply sign of a bug.