jonelo / jacksum-for-linux

Jacksum File Browser Integration on GNU/Linux
GNU General Public License v2.0
3 stars 1 forks source link

cmd_calc /lib && cmd_check /lib => Jacksum: new files (NEW): 493153; version 3.1.0 #1

Closed BlindDuck closed 2 years ago

BlindDuck commented 2 years ago

While playing around with the new version 3.1.0:

jacksum cmd_calc /lib && jacksum cmd_check /lib => Jacksum: new files (NEW): 493153

-rw-r--r-- 1 root root 49768066 Jan 8 17:21 /tmp/jacksum.8534.txt -rw-r--r-- 1 joerg disk 4322 Jan 8 17:19 /tmp/jacksum.8049.txt -rw-r--r-- 1 joerg disk 9396307 Jan 8 17:19 /tmp/jacksum.txt jacksum.txt.tar.gz

May be I configured something wrong during the update from 1.7.0 to 3.1.0: jacksumJK.sh.tar.gz

/opt, /boot and /lib64 worked fine

Any Hints/explainations are welcome.

BlindDuck commented 2 years ago

/etc and /lib with jacksum version 1.7.0: jacksum1.7.0.etc.tar.gz jacksum1.7.0.lib.tar.gz

jonelo commented 2 years ago

Thank you for your request, BlindDuck.

In your case Jacksum 3.1.0 finds 493153 new files, because in cmd_calc option -d is given (which actually means --dont-follow-symlinks-to-directories), but in cmd_check the option -d is not given, and Jacksum 3.1.0 traverses the /lib tree and follows all symlinks to directories - which actually results in many new findings, becuase there are many symlinks to folders in /lib. Actually Jacksum 3.x does that in order to find new files which Jacksum 1.7.0 wasn't able to detect. So the solution to the problem is to add the option -d to both cmd_calc and cmd_check or to omit the option -d from both cmd_calc and cmd_check.

Since this is all about the file browser integration in Linux, I am going to move this ticket to the jacksum-fbi-linux sub-project. Since Jacksum 3.1.0 behavior it is not a bug (the current jacksum-fbi-linux only support Jacksum 1.7.0), I also remove the bug flag.

Please stay tuned for a Jacksum 3.1.0 compatible file browser integration.

jonelo commented 2 years ago

I have fixed a bug that is related to this ticket. See also https://github.com/jonelo/jacksum/issues/17