Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
master
-
-
949594ef8 (dev)
Description
On a debug VM within OpenNebula, cooked up via the "Schedule Build" form:
qt@10-225-145-202 ~ % ls -l .zsh_history -rw------- 1 root staff 22 Nov 17 2020 .zsh_history
This means I can't access my own command history and the commands I type in one login session are forgotten before the next, effectively completely disabling zsh's history.
It would be better to simply not have this file present !
qt@10-225-145-202 ~ % ls -lA | grep -w root -rw------- 1 root staff 783 Nov 17 2020 .viminfo -rw------- 1 root staff 22 Nov 17 2020 .zsh_history
The .viminfo probably shouldn't be owned by root, either !
The user can delete these files to unblock this, but it would be better if they were not there to begin with or, if they have (I can't tell) useful contents, to have the qt user own them.
Ideally, the history would contain the commands that were run during the build and test that set up the machine, making it possible to use history replay instead of having to copy-and-paste from a build log to get the commands to set up my environment ready for a build.
Attachments
For Gerrit Dashboard: COIN-723 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
493364,33 | Give qt user access to zsh history and transfer .viminfo under qt user | dev | qt/qt5 | Status: MERGED | +2 | 0 |