Sisyphus repository
Last update: 23 september 2019 | SRPMs: 17473 | Visits: 15147060
en ru br
ALT Linux repos
S:3.2.57-alt4

Group :: Shells
RPM: bash3

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


package id status test message
bash3-examples-3.2.57-alt4.noarch
info
unsafe-tmp-usage-in-scripts The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/doc/bash3-3.2.57/examples/scripts/bcsh.sh: $ grep -A5 -B5 /tmp/ /usr/share/doc/bash3-3.2.57/examples/scripts/bcsh.sh ;; esac trap ':' 2 trap exit 3 trap "tail -n $savehist $histfile>/tmp/hist$$;uniq /tmp/hist$$ > $histfile; rm -f /tmp/*$$;exit 0" 15 getcmd=ye... [the rest of the message is skipped]
sh3-debuginfo-3.2.57-alt4.x86_64
ok
checkbashisms
sh3-debuginfo-3.2.57-alt4.x86_64
ok
buildroot
sh3-debuginfo-3.2.57-alt4.x86_64
ok
unsafe-tmp-usage-in-scripts
sh3-debuginfo-3.2.57-alt4.x86_64
ok
sisyphus_check
sh3-3.2.57-alt4.x86_64
ok
checkbashisms
sh3-3.2.57-alt4.x86_64
ok
buildroot
sh3-3.2.57-alt4.x86_64
ok
unsafe-tmp-usage-in-scripts
sh3-3.2.57-alt4.x86_64
ok
sisyphus_check
bash3-devel-3.2.57-alt4.x86_64
ok
checkbashisms
bash3-devel-3.2.57-alt4.x86_64
ok
buildroot
bash3-devel-3.2.57-alt4.x86_64
ok
unsafe-tmp-usage-in-scripts
bash3-devel-3.2.57-alt4.x86_64
ok
sisyphus_check
bash3-3.2.57-alt4.x86_64
ok
checkbashisms
bash3-3.2.57-alt4.x86_64
ok
buildroot
bash3-3.2.57-alt4.x86_64
ok
unsafe-tmp-usage-in-scripts
bash3-3.2.57-alt4.x86_64
ok
sisyphus_check
bash3-debuginfo-3.2.57-alt4.x86_64
ok
checkbashisms
bash3-debuginfo-3.2.57-alt4.x86_64
ok
buildroot
bash3-debuginfo-3.2.57-alt4.x86_64
ok
unsafe-tmp-usage-in-scripts
bash3-debuginfo-3.2.57-alt4.x86_64
ok
sisyphus_check
bash3-examples-3.2.57-alt4.noarch
ok
checkbashisms
bash3-examples-3.2.57-alt4.noarch
ok
buildroot
bash3-examples-3.2.57-alt4.noarch
ok
sisyphus_check
bash3-doc-3.2.57-alt4.noarch
ok
checkbashisms
bash3-doc-3.2.57-alt4.noarch
ok
buildroot
bash3-doc-3.2.57-alt4.noarch
ok
unsafe-tmp-usage-in-scripts
bash3-doc-3.2.57-alt4.noarch
ok
sisyphus_check
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin