diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2024-01-21 17:21:43 -0800 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2024-01-21 17:28:27 -0800 |
commit | 6e34300881771814a08bc9f3a0881d0b61598d9d (patch) | |
tree | 798cf0065e5fdf8cdabf55b53832bf6e3cad632a /etc/myconf/cfgl_meta | |
parent | 2ed9c727688147591c6b1486f2989c70376e8a1f (diff) |
fix: htop new version seems break old way of make htoprc unwritable to keep config unchanged
In the past, `chmod a-w ~/.config/htop/htoprc` is sufficient to let htop not able to write to htoprc. So configs keeps the same if I press anything in htop. But it seems htop new version 3.3.0 makes it not working. I'm not sure why. I suspect "Write configuration to temporary file first" in changelog is the reason <https://github.com/htop-dev/htop/blob/main/ChangeLog#L19>. Luckily, `chmod a-w ~/.config/htop` still works by making htop config dir not writable.
Diffstat (limited to 'etc/myconf/cfgl_meta')
-rw-r--r-- | etc/myconf/cfgl_meta | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta index dc25653e..9a79daf4 100644 --- a/etc/myconf/cfgl_meta +++ b/etc/myconf/cfgl_meta @@ -52,8 +52,8 @@ 644 xyz wheel //home/xyz/.config/fontconfig/fonts.conf 755 xyz wheel //home/xyz/.config/git 644 xyz wheel //home/xyz/.config/git/config -700 xyz wheel //home/xyz/.config/htop -444 xyz wheel //home/xyz/.config/htop/htoprc +500 xyz wheel //home/xyz/.config/htop +400 xyz wheel //home/xyz/.config/htop/htoprc 644 xyz wheel //home/xyz/.config/.inputrc 755 xyz wheel //home/xyz/.config/lf 644 xyz wheel //home/xyz/.config/lf/lfrc |