From cefefd4a77ab8de9d9fdce25a43dd21ae3af1608 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 21 Jan 2024 17:21:43 -0800 Subject: 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 . Luckily, `chmod a-w ~/.config/htop` still works by making htop config dir not writable. --- etc/myconf/cfgl_meta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc') diff --git a/etc/myconf/cfgl_meta b/etc/myconf/cfgl_meta index f5024f95..c9ca5c95 100644 --- a/etc/myconf/cfgl_meta +++ b/etc/myconf/cfgl_meta @@ -47,8 +47,8 @@ 755 xyz wheel //home/xyz/.config 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 -- cgit v1.2.3-70-g09d2