From: Fred T. Hamster Date: Tue, 1 Oct 2024 00:11:50 +0000 (-0400) Subject: restricted snarf_user and how we snarf links X-Git-Tag: 2.140.188^2~1 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=29d1fbb38cfa4587a98ea26e08e77931fb6fef49;p=feisty_meow.git restricted snarf_user and how we snarf links we don't want recursive links being dereferenced, which made last version barf on .local/.../steam due to recursive links in there. also, stopped backing up .local for the time being anyhow, since it's where steam lives and backing that up means backing up crazy amounts of gigabytes of game apps. --- diff --git a/nucleus/library/tests_crypto/makefile.crypto_breaker b/nucleus/library/tests_crypto/makefile.crypto_breaker new file mode 100644 index 00000000..d7d3f49e --- /dev/null +++ b/nucleus/library/tests_crypto/makefile.crypto_breaker @@ -0,0 +1,12 @@ +include cpp/variables.def + +PROJECT = tests_crypto +TYPE = test +TARGETS = test_blowfish_crypto.exe test_rsa_crypto.exe +LOCAL_LIBS_USED = unit_test crypto application processes loggers configuration textual timely \ + filesystem structures basis +USE_SSL = t +RUN_TARGETS = $(ACTUAL_TARGETS) + +include cpp/rules.def + diff --git a/scripts/archival/shared_snarfer.pl b/scripts/archival/shared_snarfer.pl index 7b2b7ecd..cfbe2ae0 100644 --- a/scripts/archival/shared_snarfer.pl +++ b/scripts/archival/shared_snarfer.pl @@ -189,8 +189,8 @@ sub snarfer { } local($outcome) = 0xff & system $tar_tool, -#hmmm: trying to dereference symbolic links and stop missing stuff. -"-h", +#hmmm: trying to tame symbolic links; just recording them as links. + "--keep-directory-symlink", "-rf", &canonicalize($target_file), @excludes, "--files-from=" . &canonicalize($temp_file); if ($outcome) { diff --git a/scripts/archival/snarf_user.pl b/scripts/archival/snarf_user.pl index 202fba00..87f44892 100644 --- a/scripts/archival/snarf_user.pl +++ b/scripts/archival/snarf_user.pl @@ -39,8 +39,12 @@ local($snarf_file) = &snarf_name($snarf_file_base, $number); # backup all the config info for kde. &backup_hierarchy($snarf_file_base, $number, "$root", ".kde"); -# and get the config for gnome. -&backup_hierarchy($snarf_file_base, $number, "$root", ".local"); + +#hmmm: these get too much stuff, including all the steam binaries. +#hmmm: make it more specific. +#ARGH # and get the config for gnome. +#ARGH &backup_hierarchy($snarf_file_base, $number, "$root", ".local"); + &backup_hierarchy($snarf_file_base, $number, "$root", ".gnome*"); # and assorted config things for various apps. &backup_hierarchy($snarf_file_base, $number, "$root", ".config/syncthing");