From 5dc1e301a165709c60c435f00ec9bb6d7d5f21f3 Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Tue, 27 Aug 2019 21:40:02 -0700 Subject: [PATCH] Apply debian upstream patch 0160-fix_tighten_default_umask Original patch commentary: Description: Change default XSane umask from 0007 to 0077 A default umask of 0007 can be mildly insecure in a multiuser environment, so tighten things up a bit and go with 0077 instead. Author: Adrien Thebo Bug-Debian: http://bugs.debian.org/592972 Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/611950 ---- As above. --- src/xsane.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xsane.h b/src/xsane.h index 67f06d4..fa04418 100644 --- a/src/xsane.h +++ b/src/xsane.h @@ -104,7 +104,7 @@ #define XSANE_DEBUG_ENVIRONMENT "XSANE_DEBUG" #define XSANE_PROGRESS_BAR_MIN_DELTA_PERCENT 0.025 -#define XSANE_DEFAULT_UMASK 0007 +#define XSANE_DEFAULT_UMASK 0077 #define XSANE_HOLD_TIME 200 #define XSANE_CONTINUOUS_HOLD_TIME 10 #define XSANE_DEFAULT_DEVICE "SANE_DEFAULT_DEVICE" -- 2.22.0 0d1d849d928383e44c0ab0'>refslogtreecommitdiff
path: root/tests/guix-gc.sh
AgeCommit message (Expand)Author
2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier
2020-09-28tests: Simplify shell exit status negation;...* tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-lint.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh: Use the shell '!' keyword to negate command exit status in place of 'if ...; then false; else true; fi' Eric Bavier